Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲6.80MB] [CPU: ▼263.42ms] 50% from 4 tests
This is a short check of server-side resources used by Page Builder - AIO WP Builder: #1 Website Builder for Wordpress
Please take the time to fix the following items
- RAM: The total memory usage must be kept under 10MB (currently 12.30MB on /wp-admin/admin.php?page=ve-fonts)
- Extra RAM: Extra memory usage should kept under 5MB (currently 6.80MB on /wp-admin/admin.php?page=ve-fonts)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.63 ▲6.11 | 80.25 ▲29.30 |
Dashboard /wp-admin | 10.49 ▲7.08 | 71.15 ▲36.35 |
Posts /wp-admin/edit.php | 10.72 ▲7.08 | 72.46 ▲35.20 |
Add New Post /wp-admin/post-new.php | 13.94 ▲6.96 | 124.67 ▼1,147.88 |
Media Library /wp-admin/upload.php | 10.36 ▲7.06 | 53.63 ▲29.70 |
AIO WP Builder /wp-admin/admin.php?page=visual-editor-admin | 10.36 | 55.32 |
Fonts /wp-admin/admin.php?page=ve-fonts | 12.30 | 59.02 |
Server storage [IO: ▲15.51MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 680 new files
Database: no new tables, 2 new options
New WordPress options |
---|
_ve_license |
_ve_key |
Browser metrics Passed 4 tests
Checking browser requirements for Page Builder - AIO WP Builder: #1 Website Builder for Wordpress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,190 ▲432 | 18.37 ▲2.38 | 12.57 ▲6.24 | 2.42 ▼0.31 |
Dashboard /wp-admin | 3,134 ▲273 | 7.93 ▲1.65 | 139.59 ▲6.19 | 203.04 ▲40.47 |
Posts /wp-admin/edit.php | 2,965 ▲271 | 5.06 ▲1.83 | 77.26 ▲12.46 | 164.85 ▲20.75 |
Add New Post /wp-admin/post-new.php | 1,673 ▲12 | 19.51 ▲3.56 | 409.03 ▼16.95 | 183.66 ▲21.27 |
Media Library /wp-admin/upload.php | 1,742 ▲47 | 5.49 ▼0.02 | 108.65 ▼45.20 | 228.44 ▲28.71 |
AIO WP Builder /wp-admin/admin.php?page=visual-editor-admin | 1,284 | 4.08 | 69.09 | 132.18 |
Fonts /wp-admin/admin.php?page=ve-fonts | 5,546 | 4.52 | 74.83 | 145.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 2 options
- _ve_key
- _ve_license
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 91× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant VE_VERSION - assumed 'VE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/all-in-one-wp-builder/config/ve-config.php on line 85
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Formatter' not found in wp-content/plugins/all-in-one-wp-builder/core/helpers/scssphp/src/Formatter/Crunched.php:22
- > PHP Fatal error
Uncaught Error: Class 'VE_Manager_Abstract' not found in wp-content/plugins/all-in-one-wp-builder/core/classes/ve_shortcode.php:2
- > PHP Fatal error
Uncaught Error: Class 'Ve_Element' not found in wp-content/plugins/all-in-one-wp-builder/modules/VeCore/src/Elements/VeQuote.php:2
- > PHP Fatal error
Uncaught Error: Class 'Leafo\\ScssPhp\\Compiler' not found in wp-content/plugins/all-in-one-wp-builder/core/helpers/scssphp/classmap.php:16
- > PHP Fatal error
Uncaught Error: Class 'Ve_Element' not found in wp-content/plugins/all-in-one-wp-builder/modules/VeCore/src/Elements/VeWpArchives.php:6
- > PHP Fatal error
Uncaught Error: Class 'Ve_Element' not found in wp-content/plugins/all-in-one-wp-builder/modules/VeCore/src/Elements/Form/VeFormButton.php:2
- > PHP Fatal error
Uncaught Error: Class 'Ve_Element' not found in wp-content/plugins/all-in-one-wp-builder/modules/VeCore/src/Elements/VeWpRecentPosts.php:5
- > PHP Warning
Use of undefined constant VE_VERSION - assumed 'VE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/all-in-one-wp-builder/config/ve-config.php on line 61
- > PHP Warning
Use of undefined constant VE_VERSION - assumed 'VE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/all-in-one-wp-builder/config/ve-config.php on line 92
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 59 tag instead of maximum 10
- Screenshots: Add an image for screenshot #1 (http://allinonewpbuilder.com/wp-content/uploads/2015/06/Screen-Shot-2015-06-03-at-10.54.22-AM.png)
all-in-one-wp-builder/visual-editor.php 92% from 13 tests
The entry point to "Page Builder - AIO WP Builder: #1 Website Builder for Wordpress" version 2.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("all-in-one-wp-builder.php" instead of "visual-editor.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin168,521 lines of code in 443 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 69 | 2,649 | 2,161 | 79,936 |
JavaScript | 126 | 9,958 | 7,614 | 47,514 |
PHP | 120 | 2,183 | 1,392 | 15,245 |
JSON | 6 | 0 | 0 | 13,768 |
LESS | 89 | 1,297 | 1,597 | 7,505 |
SVG | 5 | 1 | 0 | 1,528 |
Sass | 13 | 26 | 24 | 1,352 |
XML | 8 | 0 | 0 | 893 |
HTML | 2 | 100 | 15 | 512 |
Markdown | 5 | 137 | 0 | 268 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 22.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 487.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 1 | 1.23% |
▷ Concrete classes | 80 | 98.77% |
▷ Final classes | 0 | 0.00% |
Methods | 776 | |
▷ Static methods | 4 | 0.52% |
▷ Public methods | 570 | 73.45% |
▷ Protected methods | 202 | 26.03% |
▷ Private methods | 4 | 0.52% |
Functions | 34 | |
▷ Named functions | 33 | 97.06% |
▷ Anonymous functions | 1 | 2.94% |
Constants | 21 | |
▷ Global constants | 13 | 61.90% |
▷ Class constants | 8 | 38.10% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
82 PNG files occupy 0.21MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
view/libraries/context-menu/src/images/page_white_delete.png | 0.52KB | 0.51KB | ▼ 2.24% |
view/images/close/close_button_17.png | 3.30KB | 2.03KB | ▼ 38.42% |
modules/VeCore/view/lib/nivoslider/themes/light/bullets.png | 3.21KB | 0.54KB | ▼ 83.24% |
view/libraries/jquery-ui/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
view/css/editor/img/move.png | 0.25KB | 0.22KB | ▼ 11.54% |