Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.59ms] Passed 4 tests
Analyzing server-side resources used by System Report
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.85 ▼4.35 |
Dashboard /wp-admin | 3.37 ▲0.03 | 46.08 ▼10.14 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 48.63 ▼0.65 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.22 ▼11.23 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 37.44 ▲5.34 |
System Report /wp-admin/tools.php?page=system-report | 3.25 | 29.65 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for System Report
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.74 ▲0.19 | 1.83 ▲0.18 | 41.16 ▼0.87 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲0.00 | 107.08 ▲4.47 | 40.09 ▼1.87 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.11 ▲0.09 | 39.81 ▲3.29 | 34.59 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,545 ▲16 | 23.02 ▼0.09 | 665.84 ▲9.02 | 59.40 ▲4.46 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.05 | 106.45 ▲6.78 | 44.31 ▲1.38 |
System Report /wp-admin/tools.php?page=system-report | 1,234 | 2.18 | 23.03 | 30.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/tools.php?page=system-report
- > Notice in wp-content/plugins/system-report/views/server.php+24
Undefined index: PHP_INI_DIR
- > GET request to /wp-admin/tools.php?page=system-report
- > Notice in wp-content/plugins/system-report/views/server.php+25
Undefined index: USER
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/system-report/system-report.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/system-report/src/class-system-report-table.php on line 7
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/system-report/src/class-system-report-table.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/system-report/src/class-system-report-table.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: information, report, status, system
system-report/system-report.php Passed 13 tests
"System Report" version 2.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
108 characters long description:
Quickly identify important aspects of your server, PHP, WordPress installation, theme, plugins and database.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected426 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 142 | 146 | 416 |
JSON | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected