Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.23ms] Passed 4 tests
This is a short check of server-side resources used by Attentive security - Hide Wp Version, Redirect Wp-Admin link
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.00 ▲1.46 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.69 ▼2.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.08 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.92 ▼22.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 31.99 ▼3.12 |
Attentive WSP Settings /wp-admin/options-general.php?page=attwsp-setting-admin | 3.22 | 29.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Attentive security - Hide Wp Version, Redirect Wp-Admin link
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.23 ▼0.04 | 1.90 ▲0.02 | 43.53 ▼4.68 |
Dashboard /wp-admin | 2,199 ▲22 | 5.60 ▼0.12 | 89.93 ▼6.13 | 40.81 ▼0.64 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.06 | 40.58 ▼2.09 | 35.87 ▲0.66 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.11 ▼0.02 | 664.56 ▼19.89 | 52.57 ▲0.09 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▲0.00 | 103.47 ▲8.03 | 43.10 ▼0.29 |
Attentive WSP Settings /wp-admin/options-general.php?page=attwsp-setting-admin | 799 | 2.00 | 26.17 | 29.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% 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 (
=== attentive-security ===
)
attentive-security/attentive-security.php Passed 13 tests
Analyzing the main PHP file in "Attentive security - Hide Wp Version, Redirect Wp-Admin link" version 1.3.1
62 characters long description:
A simple WordPress security plugin for your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected157 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 54 | 57 | 157 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected