Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼146.29ms] Passed 4 tests
This is a short check of server-side resources used by Quick Meta Editor For Custom Post Types
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 43.43 ▲17.68 |
Dashboard /wp-admin | 3.08 ▲0.02 | 40.85 ▼17.07 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 52.57 ▲1.26 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 106.08 ▼566.22 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 36.32 ▼3.14 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quick Meta Editor For Custom Post Types
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,730 ▲134 | 16.61 ▲0.97 | 11.84 ▲2.66 | 53.85 ▲0.09 |
Dashboard /wp-admin | 2,997 ▲66 | 6.71 ▲0.52 | 184.55 ▲26.58 | 144.60 ▲25.32 |
Posts /wp-admin/edit.php | 2,766 ▲27 | 2.79 ▲0.07 | 82.65 ▲9.02 | 129.19 ▲30.65 |
Add New Post /wp-admin/post-new.php | 1,635 ▲54 | 21.71 ▲3.03 | 355.81 ▼52.62 | 142.26 ▲23.79 |
Media Library /wp-admin/upload.php | 1,834 ▲27 | 5.54 ▲0.53 | 192.63 ▲21.57 | 154.87 ▲23.25 |
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
The plugin uninstalled completely, with no zombie files or tables
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/quick-meta-editor-for-custom-post-types/cpt-meta-editor-admin-view.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-meta-editor-for-custom-post-types/cpt-meta-editor.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: meta data, custom post type
quick-meta-editor-for-custom-post-types/cpt-meta-editor.php 85% from 13 tests
Analyzing the main PHP file in "Quick Meta Editor For Custom Post Types" version 1.0
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("quick-meta-editor-for-custom-post-types.php" instead of "cpt-meta-editor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin235 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 24 | 8 | 122 |
PHP | 2 | 22 | 10 | 112 |
CSS | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.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