Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼1.58ms] Passed 4 tests
Analyzing server-side resources used by Performance & Security
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 42.46 ▲1.06 |
Dashboard /wp-admin | 3.52 ▲0.17 | 51.54 ▼6.08 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 55.57 ▲8.72 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 94.12 ▼5.13 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 42.54 ▲3.83 |
Performance & Security /wp-admin/options-general.php?page=wpps_config | 3.41 | 35.18 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
wpps_options |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Performance & Security
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.27 ▼1.11 | 1.87 ▲0.12 | 41.95 ▼1.52 |
Dashboard /wp-admin | 2,210 ▲19 | 4.90 ▼0.99 | 100.82 ▼5.57 | 40.09 ▼0.92 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.05 | 40.79 ▲7.38 | 34.43 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 18.14 ▲0.51 | 631.54 ▼62.10 | 78.56 ▲21.72 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.21 ▲0.02 | 96.66 ▼7.45 | 41.92 ▼2.02 |
Performance & Security /wp-admin/options-general.php?page=wpps_config | 1,918 | 2.09 | 24.07 | 41.22 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- wpps_options
- can_compress_scripts
- widget_recent-posts
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-performance-security/modules/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-performance-security/modules/scripts.php:9
- > 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-performance-security ===
)
wp-performance-security/wp-performance-security.php 92% from 13 tests
The principal PHP file in "Performance & Security" v. 0.9.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 259 characters long)
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
Everything looks great! No dangerous files found in this plugin1,179 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 207 | 118 | 1,138 |
JavaScript | 1 | 8 | 1 | 41 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 48 | |
▷ Named functions | 46 | 95.83% |
▷ Anonymous functions | 2 | 4.17% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected