100% debug-meta-data

Code Review | Debug Meta Data

WordPress plugin Debug Meta Data scored 100% from 54 tests.

About plugin

  • Plugin page: debug-meta-data
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-5.4.0
  • WordPress version: 5.8.1
  • First release: Jan 23, 2016
  • Latest release: Mar 12, 2020
  • Number of updates: 21
  • Update frequency: every 71.9 days
  • Top authors: mrahmadawais (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active / 3,894 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

This is a short check of server-side resources used by Debug Meta Data
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1334.49 ▲12.43
Dashboard /wp-admin3.07 ▲0.0146.44 ▼2.82
Posts /wp-admin/edit.php3.12 ▲0.0144.10 ▲0.17
Add New Post /wp-admin/post-new.php5.45 ▲0.0297.99 ▼559.71
Media Library /wp-admin/upload.php3.01 ▲0.0033.62 ▼4.61

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Debug Meta Data
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8315.95 ▲0.429.66 ▼0.2549.49 ▲3.06
Dashboard /wp-admin2,967 ▲366.02 ▲0.04143.48 ▼20.61109.22 ▲0.47
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0065.39 ▲2.7490.40 ▲0.87
Add New Post /wp-admin/post-new.php1,652 ▲6121.51 ▲2.75285.17 ▼133.53125.32 ▲13.88
Media Library /wp-admin/upload.php1,807 ▼35.03 ▼0.01156.35 ▲1.02119.51 ▼2.45

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: meta data custom post types, meta data, debug, debug metabox, debug meta...

debug-meta-data/debug-meta-data.php 92% from 13 tests

The main PHP file in "Debug Meta Data" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected453 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
Markdown31290404
PHP2254745
JSON1004

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin