Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.03MB] [CPU: ▼11.81ms] Passed 4 tests
Server-side resources used by Kodyok Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 23.43 ▼12.80 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.13 ▼12.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.82 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.83 ▼20.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.47 ▲1.28 |
Server storage [IO: ▲7.92MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 100 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Kodyok Page Builder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,199 ▲464 | 14.38 ▲0.19 | 22.74 ▲20.76 | 38.95 ▼10.15 |
Dashboard /wp-admin | 2,203 ▲15 | 5.77 ▲0.74 | 93.34 ▼21.04 | 38.07 ▼3.03 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.02 | 37.85 ▼3.25 | 34.64 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,536 ▲14 | 22.92 ▼0.25 | 641.93 ▼30.49 | 62.08 ▼11.34 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.21 ▲0.07 | 93.84 ▼9.91 | 41.62 ▼1.49 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kodyok-page-builder/kodyok.php:416
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/kodyok-page-builder/editor.php:8
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Contributors: Contributors not specified
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
kodyok-page-builder/kodyok.php 92% from 13 tests
The main file in "Kodyok Page Builder" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kodyok-page-builder.php" instead of "kodyok.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin37,551 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 78 | 796 | 21,306 |
JavaScript | 23 | 3,329 | 546 | 10,745 |
SVG | 2 | 0 | 0 | 2,959 |
HTML | 9 | 921 | 0 | 1,333 |
PHP | 2 | 11 | 211 | 1,172 |
JSON | 1 | 0 | 0 | 36 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
10 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/column_05.png | 1.00KB | 0.13KB | ▼ 87.00% |
assets/img/column_07.png | 1.00KB | 0.14KB | ▼ 86.49% |
assets/img/column_06.png | 1.00KB | 0.13KB | ▼ 86.97% |
assets/img/column_03.png | 0.96KB | 0.11KB | ▼ 88.92% |
assets/img/column_04.png | 0.99KB | 0.12KB | ▼ 87.66% |