Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▲0.82ms] Passed 4 tests
An overview of server-side resources used by Codeless Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 42.88 ▲2.36 |
Dashboard /wp-admin | 4.02 ▲0.72 | 58.72 ▲5.63 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 46.85 ▲0.47 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 95.15 ▼2.02 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 38.26 ▲2.49 |
Server storage [IO: ▲3.66MB] [DB: ▲0.04MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 96 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
cl_builder_version |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Codeless Page Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲154 | 13.54 ▼0.85 | 1.82 ▲0.02 | 43.52 ▼6.38 |
Dashboard /wp-admin | 2,292 ▲101 | 5.90 ▲0.03 | 111.65 ▲3.25 | 45.65 ▲6.62 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 1.99 ▼0.06 | 32.28 ▼3.19 | 32.93 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,524 ▲5 | 17.39 ▼5.66 | 659.82 ▼3.52 | 53.18 ▼8.56 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.23 ▼0.01 | 93.85 ▼2.08 | 44.16 ▲3.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- cl_builder_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 items
- 22× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/codeless-page-builder/include/templates/shortcodes/cl_media.php
- > /wp-content/plugins/codeless-page-builder/include/core/cl-register-post-type.php
- > /wp-content/plugins/codeless-page-builder/codeless-builder.php
- > /wp-content/plugins/codeless-page-builder/include/core/cl-builder-base.php
- > /wp-content/plugins/codeless-page-builder/include/templates/shortcodes/cl_gallery.php
- > /wp-content/plugins/codeless-page-builder/include/core/shortcodes/cl-shortcode.php
- > /wp-content/plugins/codeless-page-builder/include/templates/shortcodes/cl_row.php
- > /wp-content/plugins/codeless-page-builder/include/core/cl-builder-mapper.php
- > /wp-content/plugins/codeless-page-builder/include/core/shortcodes/cl-shortcode-manager.php
- > /wp-content/plugins/codeless-page-builder/include/core/shortcodes/cl-shortcode-simple.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Cl_Builder_Mapper' not found in wp-content/plugins/codeless-page-builder/include/templates/dialog.tpl.php:17
- > PHP Fatal error
Uncaught Error: Class 'Cl_Shortcode_Container' not found in wp-content/plugins/codeless-page-builder/include/core/shortcodes/cl-column.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function cl_get_attributes() in wp-content/plugins/codeless-page-builder/include/templates/shortcodes/cl_custom_heading.php:5
- > PHP Fatal error
Uncaught Error: Class 'Kirki' not found in wp-content/plugins/codeless-page-builder/config/cl-header-elements.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function cl_builder_map() in wp-content/plugins/codeless-page-builder/config/cl-page-elements.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Panel' not found in wp-content/plugins/codeless-page-builder/include/core/kirki-setup/codeless_custom_panel.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codeless-page-builder/include/core/kirki-setup/codeless_controls.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function cl_get_attributes() in wp-content/plugins/codeless-page-builder/include/templates/shortcodes/cl_text.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
No tags were found
codeless-page-builder/codeless-builder.php 85% from 13 tests
The main file in "Codeless Page Builder" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("codeless-page-builder.php" instead of "codeless-builder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin25,053 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 844 | 110 | 8,811 |
PHP | 34 | 2,173 | 1,010 | 8,507 |
JavaScript | 11 | 2,233 | 484 | 5,861 |
SVG | 7 | 1,209 | 0 | 1,874 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 14.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 2 | 7.41% |
▷ Concrete classes | 25 | 92.59% |
▷ Final classes | 1 | 4.00% |
Methods | 145 | |
▷ Static methods | 13 | 8.97% |
▷ Public methods | 134 | 92.41% |
▷ Protected methods | 11 | 7.59% |
▷ Private methods | 0 | 0.00% |
Functions | 52 | |
▷ Named functions | 49 | 94.23% |
▷ Anonymous functions | 3 | 5.77% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/layout_sprite.png | 0.17KB | 0.18KB | 0.00% |