Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.00ms] Passed 4 tests
Analyzing server-side resources used by Display Post Metadata
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.91 ▲1.71 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.99 ▼5.38 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.04 ▲1.05 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.28 ▼9.36 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.11 ▲2.84 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Display Post Metadata
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.39 ▼1.35 | 1.83 ▲0.17 | 41.59 ▼0.40 |
Dashboard /wp-admin | 2,211 ▲23 | 5.85 ▲0.95 | 93.55 ▼11.72 | 39.54 ▼1.05 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.01 ▲0.02 | 39.13 ▲1.91 | 33.46 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,525 ▲114 | 23.23 ▲5.20 | 695.37 ▲134.57 | 55.77 ▲17.83 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.36 ▲0.17 | 95.23 ▼2.27 | 40.14 ▼3.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/display-post-metadata/display-post-metadata.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/display-post-metadata/include/views.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
Please fix the following attributes:
- Screenshots: A description for screenshot #3 is missing in display-post-metadata/assets to your readme.txt
display-post-metadata/display-post-metadata.php Passed 13 tests
This is the main PHP file of "Display Post Metadata" version 1.5.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
77 characters long description:
Allows you to display posts and pages metadata information and custom fields.
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
Everything looks great! No dangerous files found in this plugin500 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 3 | 176 |
PHP | 3 | 44 | 102 | 131 |
JavaScript | 1 | 25 | 13 | 122 |
CSS | 2 | 13 | 5 | 71 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin