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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.27ms] Passed 4 tests
Analyzing server-side resources used by Kahaf Kit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.85 ▲1.99 |
Dashboard /wp-admin | 3.36 ▲0.02 | 48.64 ▼14.92 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 44.39 ▼5.01 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.18 ▲7.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.01 ▲0.86 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Kahaf Kit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲156 | 13.89 ▼0.84 | 15.59 ▲13.57 | 44.68 ▲0.72 |
Dashboard /wp-admin | 2,209 ▲31 | 5.64 ▼0.07 | 87.26 ▼25.30 | 41.47 ▲0.75 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.04 ▲0.03 | 36.98 ▼0.58 | 35.22 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 21.04 ▼2.11 | 682.12 ▼54.97 | 54.69 ▼2.35 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.18 ▲0.01 | 100.41 ▼13.16 | 50.92 ▲0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 22× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/about.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/newsletters.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/review.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kahaf-kit/function/kahafkit-scripts.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/map-form.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/services.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/gallery.php:6
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/team.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/stat-testominials.php:6
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/kahaf-kit/e-addons/addons-list/statistic.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
kahaf-kit/kahaf-kit.php Passed 13 tests
The entry point to "Kahaf Kit" version 1.0.0 is a PHP file that has certain tags in its header comment area
46 characters long description:
The Kahaf Kit is design creator for WordPress.
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
Good job! No executable or dangerous file extensions detected28,376 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,860 | 101 | 15,548 |
JavaScript | 10 | 885 | 343 | 8,131 |
PHP | 30 | 208 | 243 | 3,293 |
SVG | 1 | 1 | 3 | 1,404 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 1 | 4.00% |
Methods | 144 | |
▷ Static methods | 3 | 2.08% |
▷ Public methods | 97 | 67.36% |
▷ Protected methods | 43 | 29.86% |
▷ Private methods | 4 | 2.78% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 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
No PNG files were detected