Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼6.62ms] Passed 4 tests
Analyzing server-side resources used by Post Meta Controls
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.44 | 41.62 ▲3.44 |
Dashboard /wp-admin | 3.75 ▲0.40 | 46.33 ▼18.34 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 53.12 ▲1.29 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 84.71 ▼12.86 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 36.14 ▲3.83 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post Meta Controls
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.18 | 1.62 ▼0.08 | 38.03 ▼5.37 |
Dashboard /wp-admin | 2,200 ▲12 | 6.01 ▲0.13 | 100.05 ▼1.58 | 39.05 ▼5.75 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.05 ▲0.01 | 39.58 ▼1.15 | 33.69 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 19.05 ▼4.71 | 676.07 ▲2.31 | 58.92 ▲8.13 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.25 ▲0.05 | 92.04 ▼4.25 | 42.38 ▼0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: meta, post-meta, gutenberg, settings, controls
post-meta-controls/post-meta-controls.php Passed 13 tests
The main PHP script in "Post Meta Controls" version 1.4.1 is automatically included on every request by WordPress
58 characters long description:
Controls to manage post meta data in the Gutenberg editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,843 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 502 | 402 | 2,706 |
JavaScript | 2 | 0 | 153 | 136 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 5.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 8 | |
Classes | 21 | |
▷ Abstract classes | 2 | 9.52% |
▷ Concrete classes | 19 | 90.48% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 25.21% |
▷ Protected methods | 66 | 55.46% |
▷ Private methods | 23 | 19.33% |
Functions | 33 | |
▷ Named functions | 26 | 78.79% |
▷ Anonymous functions | 7 | 21.21% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin