Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.67ms] Passed 4 tests
This is a short check of server-side resources used by WP Security Master
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 45.85 ▲2.08 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.17 ▲0.40 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 55.49 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.41 ▼20.63 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.85 ▲2.47 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
wp_security_master |
widget_theysaidso_widget |
theysaidso_admin_options |
wp_security_master_activate_state |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Security Master
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.28 ▼0.13 | 2.17 ▲0.50 | 51.27 ▲9.14 |
Dashboard /wp-admin | 2,215 ▲35 | 5.65 ▲0.01 | 104.79 ▲11.99 | 41.25 ▲2.35 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.02 ▲0.02 | 40.21 ▼6.73 | 35.17 ▼7.04 |
Add New Post /wp-admin/post-new.php | 1,385 ▼141 | 16.63 ▼6.71 | 581.75 ▼108.03 | 47.89 ▼10.39 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.20 ▼0.10 | 102.23 ▲5.91 | 46.10 ▲0.72 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-security-master/includes/views/mainmenu.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: timetotrigger in wp-content/plugins/wp-security-master/includes/views/mainmenu.php on line 21
- > PHP Notice
Undefined variable: state in wp-content/plugins/wp-security-master/includes/views/mainmenu.php on line 25
- > PHP Notice
Undefined variable: nonce in wp-content/plugins/wp-security-master/includes/views/mainmenu.php on line 16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires php: Invalid version format
wp-security-master/wp-security-master.php 92% from 13 tests
The main file in "WP Security Master" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 255 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
There were no executable files found in this plugin449 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 146 | 124 | 416 |
JavaScript | 1 | 21 | 4 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/shield_16.png | 0.62KB | 0.72KB | 0.00% |
public/images/shield_256.png | 8.19KB | 7.05KB | ▼ 13.93% |
public/images/shield.png | 0.54KB | 0.49KB | ▼ 8.01% |
public/images/lock.png | 0.70KB | 0.78KB | 0.00% |