Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼295.89ms] Passed 4 tests
Analyzing server-side resources used by WP Plugin Helper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 57.68 ▲3.19 |
Dashboard /wp-admin | 3.46 ▲0.06 | 32.83 ▼0.47 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 38.52 ▼0.39 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 94.61 ▼1,183.58 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 24.97 ▲0.89 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 2 new options
New WordPress options |
---|
wplhe_version |
wplhe_plugin_notes |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Plugin Helper
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲31 | 16.01 ▲0.37 | 5.80 ▲0.02 | 2.45 ▲0.24 |
Dashboard /wp-admin | 2,897 ▲39 | 6.13 ▼0.19 | 114.70 ▼21.04 | 152.49 ▼3.38 |
Posts /wp-admin/edit.php | 2,687 ▼4 | 3.23 ▼0.02 | 68.00 ▲6.74 | 150.01 ▲6.13 |
Add New Post /wp-admin/post-new.php | 1,775 ▲85 | 21.23 ▲0.76 | 440.46 ▲22.98 | 152.93 ▼4.26 |
Media Library /wp-admin/upload.php | 1,694 ▼1 | 5.54 ▲0.04 | 148.87 ▼2.42 | 187.66 ▼0.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 2 options in the database
- wplhe_plugin_notes
- wplhe_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wp-plugin-helper/wp-plugin-helper.php Passed 13 tests
The entry point to "WP Plugin Helper" version 1.1.1 is a PHP file that has certain tags in its header comment area
97 characters long description:
Add notes to plugins on the plugin page and display WordPress, WooCommerce and PHP compatibility.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin873 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 73 | 202 | 385 |
CSS | 1 | 30 | 0 | 260 |
JavaScript | 1 | 12 | 2 | 124 |
PO File | 1 | 33 | 34 | 104 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 17.39% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin