Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▲2.32ms] Passed 4 tests
Server-side resources used by Karma Music Player by Kadar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 44.36 ▲1.71 |
Dashboard /wp-admin | 3.42 ▲0.12 | 54.26 ▲5.53 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 57.99 ▲9.72 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 92.25 ▼7.67 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 44.64 ▲12.15 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_karma_by_kadar__simple_player__widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Karma Music Player by Kadar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,990 ▲255 | 13.84 ▼0.81 | 11.34 ▲9.59 | 44.24 ▼2.04 |
Dashboard /wp-admin | 2,268 ▲80 | 5.86 ▲0.93 | 97.36 ▼4.31 | 40.28 ▼5.28 |
Posts /wp-admin/edit.php | 2,154 ▲62 | 2.19 ▲0.14 | 38.50 ▼2.07 | 34.56 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,568 ▲54 | 23.44 ▲5.90 | 671.62 ▼23.44 | 59.59 ▲8.14 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 4.24 ▲0.08 | 102.80 ▲5.60 | 41.50 ▼4.41 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_karma_by_kadar__simple_player__widget
- 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
Everything seems fine, however this is by no means 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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/karma-by-kadar/lib/includes/karma_by_kadar__scripts-styles__widgets.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/karma-by-kadar/lib/integrations/widgets/karma_by_kadar__widgets.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/karma-by-kadar/karma-by-kadar.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in karma-by-kadar/assets to your readme.txt
- Tags: You are using too many tags: 18 tag instead of maximum 10
- Contributors: Plugin contributors not specified
karma-by-kadar/karma-by-kadar.php 92% from 13 tests
The main PHP script in "Karma Music Player by Kadar" version 1.1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 165 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected6,256 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 438 | 393 | 3,912 |
Sass | 6 | 24 | 20 | 985 |
PHP | 12 | 125 | 183 | 740 |
CSS | 4 | 68 | 20 | 608 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 14 | 66.67% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 5 | 23.81% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin