Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼7.97ms] Passed 4 tests
An overview of server-side resources used by List Plugin Details
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.51 ▼1.58 |
Dashboard /wp-admin | 3.49 ▲0.15 | 45.91 ▼17.04 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 48.54 ▲5.49 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 83.67 ▼15.11 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 35.48 ▲1.86 |
Settings /wp-admin/edit.php?post_type=wpo_plugin&page=lpi | 3.38 | 30.83 |
All WPO Plugins /wp-admin/edit.php?post_type=wpo_plugin | 3.46 | 36.33 |
Add New /wp-admin/post-new.php?post_type=wpo_plugin | 3.50 | 45.73 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for List Plugin Details
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲62 | 14.18 ▼0.38 | 2.14 ▲0.45 | 44.39 ▲4.14 |
Dashboard /wp-admin | 2,226 ▲46 | 5.65 ▼0.01 | 92.03 ▲6.91 | 36.68 ▼8.35 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▲0.00 | 40.84 ▲4.65 | 36.18 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 18.29 ▼4.83 | 589.98 ▼103.41 | 74.83 ▲19.91 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.23 ▲0.03 | 94.80 ▼12.61 | 43.20 ▼4.18 |
Settings /wp-admin/edit.php?post_type=wpo_plugin&page=lpi | 1,111 | 2.00 | 22.70 | 30.11 |
All WPO Plugins /wp-admin/edit.php?post_type=wpo_plugin | 1,104 | 1.99 | 32.05 | 28.84 |
Add New /wp-admin/post-new.php?post_type=wpo_plugin | 1,680 | 3.55 | 64.42 | 31.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function number_format_i18n() in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php:8
- > PHP Notice
Undefined variable: args in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 5
- > PHP Notice
Undefined variable: args in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 6
- > PHP Notice
Undefined variable: args in wp-content/plugins/list-plugin-details/templates/wpo-showcase.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/list-plugin-details/templates/wpo-showcase-block.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Contributors: Plugin contributors not specified
list-plugin-details/list-plugin-details.php 92% from 13 tests
Analyzing the main PHP file in "List Plugin Details" version 1.0.2
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin961 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 292 | 497 | 911 |
Markdown | 1 | 26 | 0 | 39 |
XML | 1 | 0 | 0 | 10 |
Sass | 1 | 0 | 0 | 1 |
CSS | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 11 | 23.91% |
▷ Public methods | 37 | 80.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 19.57% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin