Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼142.84ms] Passed 4 tests
An overview of server-side resources used by Easy Meta Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.07 | 43.25 ▲6.66 |
Dashboard /wp-admin | 3.15 ▲0.09 | 42.52 ▼7.91 |
Posts /wp-admin/edit.php | 3.26 ▲0.15 | 44.23 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 89.26 ▼564.79 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 32.88 ▲1.63 |
All Meta Boxes /wp-admin/edit.php?post_type=easymetabuilder | 3.13 | 35.82 |
Add New /wp-admin/post-new.php?post_type=easymetabuilder | 3.52 | 42.33 |
Server storage [IO: ▲2.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 343 new files
Database: no new tables, 1 new option
New WordPress options |
---|
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Meta Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,750 ▲178 | 15.86 ▲0.34 | 9.14 ▼1.90 | 45.62 ▼4.40 |
Dashboard /wp-admin | 3,014 ▲83 | 6.21 ▲0.22 | 136.08 ▼2.65 | 107.44 ▲1.82 |
Posts /wp-admin/edit.php | 2,786 ▲47 | 2.73 ▼0.11 | 63.91 ▼1.20 | 92.29 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,658 ▼25 | 22.52 ▲4.01 | 274.97 ▼88.93 | 103.74 ▲1.59 |
Media Library /wp-admin/upload.php | 1,854 ▲41 | 5.07 ▲0.05 | 150.34 ▼4.18 | 118.46 ▲6.37 |
All Meta Boxes /wp-admin/edit.php?post_type=easymetabuilder | 1,443 | 2.65 | 60.72 | 68.57 |
Add New /wp-admin/post-new.php?post_type=easymetabuilder | 2,166 | 2.19 | 35.90 | 116.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=easymetabuilder
- > Compile error in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Colorpicker.php+35
Declaration of CMB2_Type_Colorpicker::render() must be compatible with CMB2_Type_Text::render($args = Array)
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 28× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/helper-functions.php:111
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/easy-meta-builder/vendor/CMB2/includes/types/CMB2_Type_Checkbox.php:13
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 96% 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
3 plugin tags: meta fields, metabox, meta
easy-meta-builder/loader.php 92% from 13 tests
The main file in "Easy Meta Builder" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-meta-builder.php" instead of "loader.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 plugin40,409 lines of code in 197 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,731 | 16,338 | 29,151 |
PHP | 48 | 1,397 | 3,640 | 4,792 |
CSS | 13 | 1,033 | 1,035 | 4,575 |
Sass | 13 | 238 | 25 | 1,149 |
JavaScript | 4 | 195 | 133 | 742 |
PHP code Passed 2 tests
Analyzing 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.48 |
Average class complexity | 14.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 4 | 6.56% |
▷ Concrete classes | 57 | 93.44% |
▷ Final classes | 0 | 0.00% |
Methods | 342 | |
▷ Static methods | 29 | 8.48% |
▷ Public methods | 304 | 88.89% |
▷ Protected methods | 35 | 10.23% |
▷ Private methods | 3 | 0.88% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/CMB2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
vendor/CMB2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
vendor/CMB2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |