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
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼5.56ms] Passed 4 tests
A check of server-side resources used by Kopa Page Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.42 ▼5.51 |
Dashboard /wp-admin | 3.68 ▲0.34 | 53.27 ▼14.97 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 50.49 ▼2.42 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 91.89 ▲0.67 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 41.69 ▲4.11 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/kopa-page-builder/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kopa Page Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 13.67 ▼0.60 | 1.96 ▲0.02 | 46.29 ▲3.53 |
Dashboard /wp-admin | 2,237 ▲34 | 5.88 ▲0.93 | 104.55 ▼12.41 | 43.51 ▼1.42 |
Posts /wp-admin/edit.php | 2,119 ▲37 | 2.05 ▲0.03 | 36.02 ▼1.68 | 33.99 ▲0.20 |
Add New Post /wp-admin/post-new.php | 1,612 ▲86 | 21.79 ▲4.30 | 633.83 ▼53.48 | 29.20 ▼34.09 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.22 ▲0.02 | 96.31 ▼14.63 | 41.02 ▼6.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 take a closer look at the following
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'KPB_Field' not found in wp-content/plugins/kopa-page-builder/inc/fields/class-kpb-field-checkbox.php:5
- > PHP Fatal error
Uncaught Error: Class 'KPB_Field' not found in wp-content/plugins/kopa-page-builder/inc/fields/class-kpb-field-number.php:5
- > PHP Fatal error
Uncaught Error: Class 'KPB_Field' not found in wp-content/plugins/kopa-page-builder/inc/fields/class-kpb-field-attachment-image.php:5
- > PHP Fatal error
Uncaught Error: Class 'KPB_Field' not found in wp-content/plugins/kopa-page-builder/inc/fields/class-kpb-field-alert.php:5
- > PHP Fatal error
Uncaught Error: Class 'KPB_Field' not found in wp-content/plugins/kopa-page-builder/inc/fields/class-kpb-field-color.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/kopa-page-builder/inc/class-kpb-autoloader.php:16
- > PHP Fatal error
Uncaught Error: Class 'KPB_Minify' not found in wp-content/plugins/kopa-page-builder/inc/minifier/class-kpb-minifier-css.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/kopa-page-builder/kopa-page-builder.php:29
- > PHP Fatal error
Uncaught Error: Class 'KPB_Field' not found in wp-content/plugins/kopa-page-builder/inc/fields/class-kpb-field-radio.php:5
- > PHP Fatal error
Uncaught Error: Class 'KPB_Field' not found in wp-content/plugins/kopa-page-builder/inc/fields/class-kpb-field-icon.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
kopa-page-builder/kopa-page-builder.php 92% from 13 tests
Analyzing the main PHP file in "Kopa Page Builder" version 2.0.8
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 310 characters long)
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
Success! There were no dangerous files found in this plugin7,674 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 405 | 157 | 2,347 |
PHP | 31 | 697 | 147 | 2,347 |
CSS | 6 | 133 | 7 | 1,257 |
CoffeeScript | 1 | 184 | 3 | 851 |
Sass | 4 | 138 | 0 | 822 |
SVG | 1 | 0 | 0 | 50 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 31 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 31 | 25.41% |
▷ Public methods | 119 | 97.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.46% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/transp_bg.png | 0.08KB | 0.09KB | 0.00% |
assets/images/placehold.png | 2.15KB | 0.89KB | ▼ 58.69% |