90% echo-show-ids

Code Review | Show IDs by Echo Plugins

WordPress plugin Show IDs by Echo Plugins scored90%from 54 tests.

About plugin

  • Plugin page: echo-show-ids
  • Plugin version: 1.1.2
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Sep 23, 2016
  • Latest release: Aug 5, 2023
  • Number of updates: 14
  • Update frequency: every 179.1 days
  • Top authors: echoplugins (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /12,895 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0345.65 ▲8.64
Dashboard /wp-admin3.47 ▲0.1348.52 ▼12.96
Posts /wp-admin/edit.php3.59 ▲0.2345.39 ▼0.49
Add New Post /wp-admin/post-new.php6.05 ▲0.1684.54 ▼17.95
Media Library /wp-admin/upload.php3.39 ▲0.1635.16 ▲1.57
Show IDs /wp-admin/options-general.php?page=show-ids-settings3.3631.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲6214.47 ▲0.301.86 ▲0.1443.56 ▲3.83
Dashboard /wp-admin2,214 ▲265.79 ▼0.02111.61 ▲7.4642.84 ▼1.16
Posts /wp-admin/edit.php2,104 ▲151.99 ▼0.0535.55 ▼1.2531.60 ▼3.14
Add New Post /wp-admin/post-new.php1,542 ▲1423.40 ▲0.40668.57 ▲34.5147.26 ▼9.33
Media Library /wp-admin/upload.php1,391 ▼04.22 ▼0.04104.29 ▼6.6047.02 ▼0.76
Show IDs /wp-admin/options-general.php?page=show-ids-settings9312.1658.5730.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)
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
CSS4250659
PHP9199264625
JavaScript216353

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 code0.43
Average class complexity15.14
▷ Minimum class complexity4.00
▷ Maximum class complexity27.00
Average method complexity3.83
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes114.29%
Methods35
▷ Static methods411.43%
▷ Public methods2468.57%
▷ Protected methods00.00%
▷ Private methods1131.43%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants00.00%
▷ Class constants4100.00%
▷ Public constants4100.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