Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.46ms] Passed 4 tests
Analyzing server-side resources used by Show IDs by Echo Plugins
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.65 ▲8.64 |
Dashboard /wp-admin | 3.47 ▲0.13 | 48.52 ▼12.96 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 45.39 ▼0.49 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 84.54 ▼17.95 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.16 ▲1.57 |
Show IDs /wp-admin/options-general.php?page=show-ids-settings | 3.36 | 31.22 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Show IDs by Echo Plugins
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 14.47 ▲0.30 | 1.86 ▲0.14 | 43.56 ▲3.83 |
Dashboard /wp-admin | 2,214 ▲26 | 5.79 ▼0.02 | 111.61 ▲7.46 | 42.84 ▼1.16 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.99 ▼0.05 | 35.55 ▼1.25 | 31.60 ▼3.14 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.40 ▲0.40 | 668.57 ▲34.51 | 47.26 ▼9.33 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▼0.04 | 104.29 ▼6.60 | 47.02 ▼0.76 |
Show IDs /wp-admin/options-general.php?page=show-ids-settings | 931 | 2.16 | 58.57 | 30.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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
echo-show-ids/echo-show-ids.php Passed 13 tests
The main file in "Show IDs by Echo Plugins" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
93 characters long description:
Show IDs on admin pages for posts, pages, categories, taxonomies, custom post types and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,337 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 25 | 0 | 659 |
PHP | 9 | 199 | 264 | 625 |
JavaScript | 2 | 16 | 3 | 53 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.14 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 35 | |
▷ Static methods | 4 | 11.43% |
▷ Public methods | 24 | 68.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 31.43% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin