Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼292.53ms] Passed 4 tests
A check of server-side resources used by AB WP Security
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 55.76 ▲6.74 |
Dashboard /wp-admin | 3.42 ▲0.01 | 33.29 ▲0.84 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.22 ▲0.62 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 97.34 ▼1,171.02 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 23.81 ▼0.55 |
AB WP Security /wp-admin/options-general.php?page=abwps | 3.27 | 23.60 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by AB WP Security
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 16.26 ▲0.29 | 6.14 ▼0.20 | 2.18 ▼0.34 |
Dashboard /wp-admin | 2,897 ▲36 | 6.08 ▼0.08 | 115.57 ▼16.10 | 150.82 ▼9.78 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.02 | 61.47 ▲2.24 | 138.30 ▼5.48 |
Add New Post /wp-admin/post-new.php | 1,671 ▼46 | 18.17 ▼3.66 | 406.48 ▼25.27 | 155.16 ▼2.52 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.50 ▼0.05 | 142.79 ▲0.22 | 179.70 ▼7.09 |
AB WP Security /wp-admin/options-general.php?page=abwps | 1,053 | 2.37 | 52.39 | 125.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ab-wp-security/ab-wp-security-plugin.php:208
- > PHP Fatal error
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: remove wordpress version number, enumeration, disable xml-rpc, disable directory browsing, block...
ab-wp-security/ab-wp-security-plugin.php 85% from 13 tests
The entry point to "AB WP Security" version 1.51 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("ab-wp-security.php" instead of "ab-wp-security-plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 179 characters long)
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
Success! There were no dangerous files found in this plugin138 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 21 | 138 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin