89% enhanced-plugin-admin

Code Review | Enhanced Plugin Admin

WordPress plugin Enhanced Plugin Admin scored 89% from 54 tests.

About plugin

  • Plugin page: enhanced-plugin-a...
  • Plugin version: 1.17
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Nov 10, 2015
  • Latest release: Jul 22, 2023
  • Number of updates: 66
  • Update frequency: every 42.6 days
  • Top authors: Marios Alexandrou (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

200+ active / 3,890 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼1.99ms] Passed 4 tests

Analyzing server-side resources used by Enhanced Plugin Admin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.04 ▼1.46
Dashboard /wp-admin3.31 ▲0.0145.73 ▼0.23
Posts /wp-admin/edit.php3.36 ▲0.0146.02 ▼1.16
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.42 ▼5.10
Media Library /wp-admin/upload.php3.24 ▲0.0138.56 ▲3.55
Enhanced Plugin Admin /wp-admin/options-general.php?page=enhanced-plugin-admin3.2032.18

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Enhanced Plugin Admin
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.27 ▼1.111.75 ▲0.1142.90 ▼6.04
Dashboard /wp-admin2,207 ▲195.80 ▼0.0595.29 ▼6.0036.24 ▼9.22
Posts /wp-admin/edit.php2,096 ▲71.99 ▼0.0242.77 ▲0.8134.73 ▼2.59
Add New Post /wp-admin/post-new.php1,517 ▼1117.60 ▼0.41657.94 ▲59.0653.34 ▲3.37
Media Library /wp-admin/upload.php1,392 ▲74.15 ▼0.0492.59 ▼13.3144.11 ▼0.77
Enhanced Plugin Admin /wp-admin/options-general.php?page=enhanced-plugin-admin9172.1925.2128.42

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

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

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
The official readme.txt is a good inspiration

enhanced-plugin-admin/enhanced-plugin-admin.php 92% from 13 tests

The main file in "Enhanced Plugin Admin" v. 1.17 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: Please keep the plugin description shorter than 140 characters (currently 333 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected499 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP19262400
CSS114099

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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 images were found in this plugin