Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Error in wp-content/plugins/kalimah-dashboard/settings.php+208
Uncaught ArgumentCountError: Too few arguments to function kalimah_admin_settings::kalimah_admin_get_color_part(), 0 passed in wp-content/plugins/kalimah-dashboard/settings.php on line 281 and exactly 2 expected in wp-content/plugins/kalimah-dashboard/settings.php:208
Stack trace:
#0 wp-content/plugins/kalimah-dashboard/settings.php(281): kalimah_admin_settings->kalimah_admin_get_color_part()
#1 wp-content/plugins/kalimah-dashboard/settings.php(45): kalimah_admin_settings->kalimah_admin_check_conf()
#2 wp-content/plugins/kalimah-dashboard/index.php(42): kalimah_admin_settings->__construct()
#3 wp-content/plugins/kalimah-dashboard/index.php(277): kalimah_admin->__construct()
#4 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#5 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.45ms] Passed 4 tests
An overview of server-side resources used by Kalimah Dashboard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 48.50 ▲8.01 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.30 ▼1.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.49 ▼2.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.87 ▼7.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.82 ▲2.18 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
kalimah_admin_last_modified_conf |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Kalimah Dashboard
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.48 ▼0.30 | 2.10 ▲0.44 | 64.49 ▲22.28 |
Dashboard /wp-admin | 2,206 ▲15 | 5.85 ▼0.05 | 105.86 ▲3.88 | 40.11 ▼0.97 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▲0.01 | 38.93 ▲0.96 | 35.93 ▲3.22 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.09 ▲0.04 | 642.92 ▼26.40 | 55.68 ▲0.92 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▲0.01 | 97.85 ▼6.47 | 40.65 ▼2.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- kalimah_admin_last_modified_conf
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/kalimah-dashboard/settings.php:696
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/kalimah-dashboard/settings.php:696
- > 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 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #6, #7 in kalimah-dashboard/assets to your readme.txt
kalimah-dashboard/index.php 92% from 13 tests
The main file in "Kalimah Dashboard" v. 1.0.3 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 ("kalimah-dashboard.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected14,596 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 0 | 65 | 5,740 |
PHP | 5 | 155 | 1,235 | 3,162 |
LESS | 5 | 504 | 46 | 2,932 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 2 | 26 | 8 | 91 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 85.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 371.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 229 | |
▷ Static methods | 10 | 4.37% |
▷ Public methods | 91 | 39.74% |
▷ Protected methods | 133 | 58.08% |
▷ Private methods | 5 | 2.18% |
Functions | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 11 | |
▷ Global constants | 10 | 90.91% |
▷ Class constants | 1 | 9.09% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin