Title: Script Report
Author: sapayth
Published: <strong>2026 年 2 月 24 日</strong>
Last modified: 2026 年 3 月 17 日

---

搜索插件

![](https://ps.w.org/script-report/assets/banner-772x250.png?rev=3468756)

![](https://ps.w.org/script-report/assets/icon-256x256.png?rev=3468756)

# Script Report

 作者：[sapayth](https://profiles.wordpress.org/sapayth/)

[下载](https://downloads.wordpress.org/plugin/script-report.1.2.2.zip)

[实时预览](https://cn.wordpress.org/plugins/script-report/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/script-report/#description)
 * [评价](https://cn.wordpress.org/plugins/script-report/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/script-report/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/script-report/#developers)

 [支持](https://wordpress.org/support/plugin/script-report/)

## 描述

Script Report is a minimal and focused debugging tool for WordPress developers. 
It helps you audit and visualize JavaScript and CSS dependencies on any admin or
frontend page.

When something loads out of order, loads twice, or slows down a page, Script Report
helps you see exactly what is happening.

Use the Script Report link in the admin navbar on any page to open a complete breakdown
of scripts and styles, their load order, dependencies, and origin.

### Why Use Script Report?

Developers often ask:

Why is this script loading here
 Who enqueued this style Why is my dependency not
working Is something loading twice What is affecting performance on this page

Script Report gives you clear answers instantly.

### What You Can Inspect

#### JavaScript

View a complete breakdown of:

 * Registered scripts
 * Enqueued scripts
 * Total required scripts
 * Load order
 * File size
 * Footer or header loading
 * Inline scripts
 * Enqueued by source
 * Required by dependencies

#### CSS

Inspect styles with the same detailed structure:

 * Registered styles
 * Enqueued styles
 * Total required styles
 * Load order
 * File size
 * Dependency relationships
 * Enqueued by source
 * Required by dependencies

#### Script Modules WordPress 6.5+

Audit registered and enqueued script modules along with their dependency chains.

### Views

Switch between two views:

List view
 Clean, structured overview of all scripts and styles.

Tree view
 Visual representation of dependency chains. Circular or missing dependencies
are clearly flagged.

### Filtering

Quickly filter by handle or source to narrow down large lists. Filtering works client
side for fast inspection.

## 屏幕截图

 * [[
 * Open the “Script Report” panel using admin navbar
 * [[
 * List view showing scripts and styles with load order and metadata.
 * [[
 * Tree view displaying dependency chains.
 * [[
 * Script Report item in the top admin bar for quick access.

## 安装

 1. Upload the plugin files to `wp-content/plugins/script-report/`, or install through
    the WordPress Plugins screen.
 2. Activate the plugin through the Plugins screen.
 3. As an Administrator, click the “Script Report” link in the admin navbar on any 
    page to view the report.

## 常见问题

### Who can see the report?

Users with the Administrator capability `manage_options` can open the report.

You may also enable access in development environments by defining:

    ```
    define( 'SCRIPT_REPORT_DEBUG', true );
    ```

Do not enable this constant on production unless temporarily required.

### Is it safe for production?

Yes. The report is only displayed to users who can `manage_options`, or when explicitly
enabled using `SCRIPT_REPORT_DEBUG`.

No data is stored and nothing runs unless you open the report via the admin bar 
link.

### Does this affect site performance?

No. Script Report only runs when you open it via the admin bar. Normal visitors 
and pages remain unaffected.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Script Report」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ sapayth ](https://profiles.wordpress.org/sapayth/)

[帮助将「Script Report」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/script-report)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/script-report/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/script-report/)，或通过[RSS](https://plugins.trac.wordpress.org/log/script-report/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/script-report/)。

## 更新日志

#### 1.2.2 18-03-2026

 * Fix – Resolve fatal error caused by incorrect telemetry template and asset paths
 * Improvement – Use plugin constants for reliable path resolution

#### 1.2.1

 * Fix – Resolve fatal error caused by incorrect telemetry template and asset paths
 * Improvement – Use plugin constants for reliable path resolution

#### 1.2.0

 * New – Deactivation feedback survey to help improve the plugin
 * New – Improve plugin activation menu focus
 * Improvement – Isolated telemetry library to prevent conflicts with other plugins

#### 1.1.0

 * New – Filter scripts and styles by plugin or theme — find exactly what they are
   loading

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/script-report/)
 * 标签
 * [debug](https://cn.wordpress.org/plugins/tags/debug/)[debug bar](https://cn.wordpress.org/plugins/tags/debug-bar/)
   [development](https://cn.wordpress.org/plugins/tags/development/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [scripts](https://cn.wordpress.org/plugins/tags/scripts/)
 *  [高级视图](https://cn.wordpress.org/plugins/script-report/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/script-report/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/script-report/reviews/)

## 贡献者

 *   [ sapayth ](https://profiles.wordpress.org/sapayth/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/script-report/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://sapayth.com/)