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.14MB] [CPU: ▼3.45ms] Passed 4 tests
Analyzing server-side resources used by Reveal IDs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.37 ▼1.59 |
Dashboard /wp-admin | 3.49 ▲0.18 | 48.18 ▲2.61 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 48.76 ▼3.56 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 91.23 ▼8.75 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.72 ▲0.11 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Reveal IDs: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲68 | 13.28 ▼0.74 | 1.58 ▼0.25 | 40.71 ▼1.90 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼1.05 | 110.66 ▼1.87 | 39.87 ▼0.89 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.12 ▲0.08 | 40.80 ▲2.24 | 37.30 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.26 ▲0.26 | 670.18 ▼1.03 | 55.29 ▼4.40 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.11 ▼0.07 | 108.20 ▲8.82 | 46.30 ▲3.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: wp_version in wp-content/plugins/reveal-ids-for-wp-admin-25/reveal-ids-for-wp-admin-25.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/reveal-ids-for-wp-admin-25/reveal-ids-for-wp-admin-25.php:263
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reveal-ids-for-wp-admin-25/authorplugins.inc.php:55
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
reveal-ids-for-wp-admin-25/reveal-ids-for-wp-admin-25.php 92% from 13 tests
The primary PHP file in "Reveal IDs" version 1.6.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 279 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,484 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 13 | 508 | 814 | 1,262 |
PHP | 3 | 59 | 141 | 132 |
CSS | 1 | 13 | 0 | 75 |
JavaScript | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin