Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.34MB] [CPU: ▲6.37ms] Passed 4 tests
An overview of server-side resources used by Grigora's Kit For Website Building
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.76 ▲2.30 | 54.70 ▲12.88 |
Dashboard /wp-admin | 5.78 ▲2.48 | 59.30 ▲0.91 |
Posts /wp-admin/edit.php | 5.78 ▲2.42 | 65.00 ▲14.40 |
Add New Post /wp-admin/post-new.php | 8.04 ▲2.15 | 100.84 ▼2.71 |
Media Library /wp-admin/upload.php | 5.78 ▲2.55 | 56.08 ▲14.49 |
Server storage [IO: ▲3.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 141 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Grigora's Kit For Website Building: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.37 ▼1.16 | 1.89 ▲0.06 | 37.51 ▼6.09 |
Dashboard /wp-admin | 2,310 ▲107 | 5.84 ▼0.04 | 100.35 ▼16.17 | 39.82 ▼2.87 |
Posts /wp-admin/edit.php | 2,190 ▲87 | 2.07 ▲0.08 | 43.95 ▲5.23 | 38.01 ▲4.36 |
Add New Post /wp-admin/post-new.php | 6,428 ▲4,888 | 28.29 ▲5.13 | 1,007.62 ▲319.00 | 43.87 ▼21.25 |
Media Library /wp-admin/upload.php | 1,492 ▲92 | 4.32 ▲0.02 | 101.99 ▼10.88 | 44.16 ▼1.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/grigora-kit/inc/dashboard.php:176
- > PHP Fatal error
Uncaught Error: Call to undefined function grigora_kit_get_path() in wp-content/plugins/grigora-kit/inc/starter-templates/init.php:174
- > PHP Fatal error
Uncaught Error: Call to undefined function grigora_kit_get_path() in wp-content/plugins/grigora-kit/inc/blocks/init.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/grigora-kit/inc/starter-templates/ajax-helpers.php:1270
- > PHP Fatal error
Uncaught Error: Call to undefined function grigora_kit_get_path() in wp-content/plugins/grigora-kit/inc/init.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function grigora_kit_get_path() in wp-content/plugins/grigora-kit/inc/table-of-contents/init.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: animation, gutenberg, block editor, page-builder, table of contents...
grigora-kit/grigora-kit.php Passed 13 tests
The entry point to "Grigora's Kit For Website Building" version 1.4.0 is a PHP file that has certain tags in its header comment area
124 characters long description:
Your only requirement to create a beautiful website. Import from many prebuilt templates, or build with scratch from blocks.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected23,593 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 827 | 1,479 | 11,758 |
CSS | 57 | 137 | 271 | 7,278 |
JavaScript | 29 | 402 | 113 | 4,212 |
JSON | 21 | 0 | 0 | 239 |
Markdown | 1 | 34 | 0 | 94 |
SVG | 1 | 0 | 0 | 12 |
PHP code 0% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,596)
- Method cyclomatic complexity should be reduced to less than 100 (currently 400)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.27 |
Average class complexity | 917.75 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 3,596.00 |
Average method complexity | 43.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 400.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 87 | |
▷ Static methods | 7 | 8.05% |
▷ Public methods | 83 | 95.40% |
▷ Protected methods | 3 | 3.45% |
▷ Private methods | 1 | 1.15% |
Functions | 95 | |
▷ Named functions | 93 | 97.89% |
▷ Anonymous functions | 2 | 2.11% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 2.40KB | 1.93KB | ▼ 19.50% |