Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.29ms] Passed 4 tests
Server-side resources used by Plugins List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.02 | 45.13 ▲6.18 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.68 ▼0.58 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 49.17 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 88.76 ▼22.45 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 36.21 ▼4.52 |
System Snapshot /wp-admin/tools.php?page=wp_system_snapshot___page | 3.36 | 46.78 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Plugins List: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.37 | 1.73 ▲0.17 | 42.40 ▲1.94 |
Dashboard /wp-admin | 2,196 ▲16 | 5.55 ▼0.13 | 83.86 ▼5.82 | 37.60 ▼5.72 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.00 | 35.92 ▼3.21 | 32.64 ▼5.22 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.34 ▼4.86 | 644.31 ▼14.21 | 68.63 ▲16.89 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▲0.08 | 102.74 ▲2.62 | 43.98 ▼1.11 |
System Snapshot /wp-admin/tools.php?page=wp_system_snapshot___page | 1,707 | 1.99 | 24.42 | 31.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Notice in wp-content/plugins/wp-system-snapshot/layout.php+17
Undefined index: ZPluginLastChecked
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Warning in wp-content/plugins/wp-system-snapshot/layout.php+17
time() expects exactly 0 parameters, 1 given
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Notice in wp-content/plugins/wp-system-snapshot/layout.php+23
Undefined index: ZPluginUpdate
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Notice in wp-content/plugins/wp-system-snapshot/layout.php+25
Undefined index: ZPluginNewVersionNumber
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Notice in wp-content/plugins/wp-system-snapshot/layout.php+32
Undefined variable: var___plugins___active_count
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Warning in wp-content/plugins/wp-system-snapshot/layout.php+32
count(): Parameter must be an array or an object that implements Countable
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-system-snapshot/layout6.php
- > /wp-content/plugins/wp-system-snapshot/layout7.php
- > /wp-content/plugins/wp-system-snapshot/layout5.php
- > /wp-content/plugins/wp-system-snapshot/layout3.php
- > /wp-content/plugins/wp-system-snapshot/layout4.php
- > /wp-content/plugins/wp-system-snapshot/layout.php
- > /wp-content/plugins/wp-system-snapshot/layout2.php
- 35× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-system-snapshot/layout3.php on line 22
- > PHP Notice
Trying to get property 'charset' of non-object in wp-content/plugins/wp-system-snapshot/layout7.php on line 24
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/wp-system-snapshot/layout2.php on line 14
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/wp-system-snapshot/layout2.php on line 1
- > PHP Notice
Undefined variable: plugins in wp-content/plugins/wp-system-snapshot/layout.php on line 1
- > PHP Notice
Undefined variable: var___plugins___active_count in wp-content/plugins/wp-system-snapshot/layout.php on line 32
- > PHP Notice
Undefined variable: dbSize in wp-content/plugins/wp-system-snapshot/layout3.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_url() in wp-content/plugins/wp-system-snapshot/layout8.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-system-snapshot/layout3.php on line 22
- > PHP Warning
Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-system-snapshot/layout5.php on line 29
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Network (severe)
wp-admin/images/Red-cross.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp_system_snapshot___page
- > Network (severe)
wp-admin/images/Green-tick.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: environment, themes, server, database, plugins...
wp-system-snapshot/wp-system-snapshot.php Passed 13 tests
This is the main PHP file of "Plugins List" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
80 characters long description:
The perfect tool for developers to see a quick snapshot of the WordPress system.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin421 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 40 | 51 | 421 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
4 PNG files occupy 0.37MB with 0.16MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 50.98KB | 21.20KB | ▼ 58.41% |
images/Green-tick.png | 3.09KB | 1.30KB | ▼ 57.80% |
images/Red-cross.png | 2.76KB | 2.21KB | ▼ 20.16% |
assets/banner-772x250.png | 323.48KB | 197.76KB | ▼ 38.87% |