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.03MB] [CPU: ▼143.32ms] Passed 4 tests
An overview of server-side resources used by Meta Box Wrapper API
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 41.84 ▲17.68 |
Dashboard /wp-admin | 3.09 ▲0.03 | 45.33 ▼4.19 |
Posts /wp-admin/edit.php | 3.17 ▲0.05 | 52.36 ▼4.13 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 95.31 ▼566.79 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 36.53 ▲1.83 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Meta Box Wrapper API
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲42 | 15.80 ▼0.11 | 8.92 ▼1.94 | 53.65 ▲1.51 |
Dashboard /wp-admin | 2,967 ▲33 | 5.87 ▼0.08 | 145.30 ▼8.15 | 122.73 ▲13.65 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.00 | 68.58 ▼0.14 | 103.34 ▲14.64 |
Add New Post /wp-admin/post-new.php | 1,615 ▼68 | 21.39 ▲2.48 | 289.09 ▼103.70 | 109.26 ▼2.19 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.03 ▲0.00 | 171.40 ▲32.44 | 122.98 ▼5.24 |
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
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'BtMetaField' not found in wp-content/plugins/meta-box-wrapper-api/inc/BtMetaSelectField.php:2
- > PHP Fatal error
Uncaught Error: Class 'BtMetaField' not found in wp-content/plugins/meta-box-wrapper-api/inc/BtMetaTextField.php:2
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: api, meta box
meta-box-wrapper-api/meta-box-wrapper-api.php Passed 13 tests
The main PHP file in "Meta Box Wrapper API" ver. 0.0 adds more information about the plugin and also serves as the entry point for this plugin
58 characters long description:
Simple is More!This plugin is intended to provide a simple
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin166 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 75 | 78 | 166 |
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.27 |
Average class complexity | 4.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin