Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.67ms] Passed 4 tests
Server-side resources used by Post Meta Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.30 ▲2.08 |
Dashboard /wp-admin | 3.37 ▲0.07 | 57.81 ▲9.79 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.54 ▼6.47 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 90.69 ▼18.73 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.63 ▲4.45 |
User Meta Manager /wp-admin/users.php?page=pmm-umeta-settings | 3.34 | 33.27 |
Post Meta Manager /wp-admin/tools.php?page=pmm-pmeta-settings | 3.26 | 31.49 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post Meta Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.68 ▼0.57 | 1.76 ▼0.07 | 44.18 ▼2.70 |
Dashboard /wp-admin | 2,217 ▲26 | 4.88 ▼1.19 | 98.26 ▼1.12 | 38.08 ▼8.83 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 1.99 ▼0.05 | 35.21 ▼8.01 | 31.94 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 23.24 ▲0.28 | 674.45 ▲65.09 | 66.22 ▼6.34 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.22 ▼0.01 | 100.35 ▲0.11 | 41.15 ▼4.41 |
User Meta Manager /wp-admin/users.php?page=pmm-umeta-settings | 885 | 2.20 | 22.34 | 28.80 |
Post Meta Manager /wp-admin/tools.php?page=pmm-pmeta-settings | 884 | 2.04 | 25.31 | 30.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/post-meta-manager/post-meta-manager.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% 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
5 plugin tags: post meta, postmeta, metadata, custom fields, custom field
post-meta-manager/post-meta-manager.php 85% from 13 tests
The main file in "Post Meta Manager" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected485 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 86 | 142 | 267 |
JavaScript | 2 | 39 | 46 | 93 |
PO File | 1 | 29 | 32 | 88 |
CSS | 2 | 9 | 0 | 37 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 11 | |
▷ Static methods | 3 | 27.27% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 2 | 18.18% |
▷ Private methods | 1 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected