Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼1.33MB] [CPU: ▼328.50ms] Passed 4 tests
This is a short check of server-side resources used by Magee Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.12 ▼0.40 | 22.35 ▼29.18 |
Dashboard /wp-admin | 3.03 ▼0.38 | 15.10 ▼19.34 |
Posts /wp-admin/edit.php | 3.03 ▼0.61 | 14.92 ▼30.50 |
Add New Post /wp-admin/post-new.php | 3.03 ▼3.94 | 15.03 ▼1,234.99 |
Media Library /wp-admin/upload.php | 3.03 ▼0.27 | 13.80 ▼16.62 |
Add Portfolio /wp-admin/post-new.php?post_type=mpb_portfolio | 3.03 | 16.08 |
Groups /wp-admin/edit-tags.php?taxonomy=mpb_testimonial_group&post_type=mpb_testimonial | 3.03 | 15.39 |
Team /wp-admin/edit.php?post_type=mpb_team | 3.03 | 14.56 |
Slides /wp-admin/edit.php?post_type=mpb_slide | 3.03 | 15.78 |
Features /wp-admin/edit.php?post_type=mpb_feature | 3.03 | 14.83 |
Add Slide /wp-admin/post-new.php?post_type=mpb_slide | 3.03 | 14.45 |
Groups /wp-admin/edit-tags.php?taxonomy=mpb_feature_group&post_type=mpb_feature | 3.03 | 14.74 |
Clients /wp-admin/edit.php?post_type=mpb_client | 3.03 | 14.71 |
Testimonials /wp-admin/edit.php?post_type=mpb_testimonial | 3.03 | 14.57 |
Categories /wp-admin/edit-tags.php?taxonomy=mpb_team_group&post_type=mpb_team | 3.03 | 15.50 |
Server storage [IO: ▲2.87MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 65 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Magee Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,407 ▲653 | 17.94 ▲2.15 | 11.11 ▼0.51 | 2.58 ▼0.17 |
Dashboard /wp-admin | 3,361 ▲500 | 8.09 ▲1.89 | 143.51 ▲12.82 | 167.94 ▲5.76 |
Posts /wp-admin/edit.php | 3,192 ▲501 | 5.29 ▲2.06 | 79.35 ▲17.99 | 148.93 ▲13.00 |
Add New Post /wp-admin/post-new.php | 1,981 ▲222 | 19.31 ▼3.63 | 408.02 ▼5.77 | 156.60 ▲3.64 |
Media Library /wp-admin/upload.php | 1,996 ▲298 | 5.42 ▼0.02 | 111.21 ▼30.32 | 201.13 ▲12.63 |
Add Portfolio /wp-admin/post-new.php?post_type=mpb_portfolio | 3,470 | 10.27 | 211.22 | 248.33 |
Groups /wp-admin/edit-tags.php?taxonomy=mpb_testimonial_group&post_type=mpb_testimonial | 2,130 | 4.97 | 75.65 | 125.67 |
Team /wp-admin/edit.php?post_type=mpb_team | 1,872 | 5.11 | 76.93 | 129.18 |
Slides /wp-admin/edit.php?post_type=mpb_slide | 1,878 | 5.17 | 80.61 | 128.48 |
Features /wp-admin/edit.php?post_type=mpb_feature | 1,871 | 5.09 | 81.93 | 129.82 |
Add Slide /wp-admin/post-new.php?post_type=mpb_slide | 3,461 | 10.21 | 192.68 | 235.49 |
Groups /wp-admin/edit-tags.php?taxonomy=mpb_feature_group&post_type=mpb_feature | 2,125 | 4.96 | 76.24 | 122.37 |
Clients /wp-admin/edit.php?post_type=mpb_client | 1,877 | 5.10 | 75.75 | 125.98 |
Testimonials /wp-admin/edit.php?post_type=mpb_testimonial | 1,881 | 5.10 | 76.18 | 126.68 |
Categories /wp-admin/edit-tags.php?taxonomy=mpb_team_group&post_type=mpb_team | 2,124 | 4.96 | 79.50 | 126.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/magee-page-builder/inc/metaboxes/init.php+701
count(): Parameter must be an array or an object that implements Countable
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 105 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=mpb_team_group&post_type=mpb_team
- > Warning in wp-content/plugins/magee-page-builder/inc/metaboxes/init.php+701
count(): Parameter must be an array or an object that implements Countable
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
Please take a closer look at the following
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magee-page-builder/inc/post-type/class-team.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magee-page-builder/inc/post-type/class-client.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magee-page-builder/inc/post-type/class-portfolio.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magee-page-builder/inc/post-type/class-slider.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/magee-page-builder/inc/metaboxes/init.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magee-page-builder/inc/post-type/class-testimonial.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/magee-page-builder/inc/metaboxes/metabox-options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magee-page-builder/inc/post-type/class-feature.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Testimonial)
magee-page-builder/magee-page-builder.php Passed 13 tests
This is the main PHP file of "Magee Page Builder" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
19 characters long description:
Magee Page Builder.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected18,566 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 71 | 98 | 10,411 |
JavaScript | 8 | 916 | 568 | 4,776 |
PHP | 14 | 789 | 839 | 2,406 |
SVG | 2 | 0 | 0 | 973 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 32.23 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 38 | 23.17% |
▷ Public methods | 161 | 98.17% |
▷ Protected methods | 2 | 1.22% |
▷ Private methods | 1 | 0.61% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/metaboxes/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/metaboxes/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
inc/metaboxes/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
inc/metaboxes/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
inc/metaboxes/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |