Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼266.19ms] Passed 4 tests
A check of server-side resources used by Health & Medical Addons for KingComposer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.11 | 34.80 ▲11.18 |
Dashboard /wp-admin | 3.06 ▲0.00 | 41.72 ▼4.21 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 41.04 ▼3.99 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 94.71 ▼1,052.19 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 34.38 ▼4.36 |
Server storage [IO: ▲2.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 92 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Health & Medical Addons for KingComposer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,650 ▲44 | 15.87 ▲0.38 | 7.77 ▼0.44 | 61.23 ▲18.36 |
Dashboard /wp-admin | 2,928 ▲75 | 5.92 ▼0.07 | 146.24 ▲11.95 | 107.46 ▲1.85 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.70 ▲0.01 | 66.36 ▼4.54 | 103.40 ▲12.29 |
Add New Post /wp-admin/post-new.php | 1,588 ▼263 | 21.43 ▲3.71 | 266.22 ▼102.78 | 107.72 ▲1.49 |
Media Library /wp-admin/upload.php | 1,772 ▲3 | 5.01 ▲0.01 | 146.67 ▼5.75 | 109.91 ▼6.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 25× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/heading.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/icons.php:82
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/flip-box-3d/flip-box-3d.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/fluid-section-one.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/departments.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/about-us.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/flip-box/flip-box.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/blog.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/call-to-action-two.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/health-and-medical-addons-for-kingcomposer/addons/portfolio-carousel.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
health-and-medical-addons-for-kingcomposer/medical-addons.php 92% from 13 tests
This is the main PHP file of "Health & Medical Addons for KingComposer" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("health-and-medical-addons-for-kingcomposer.php" instead of "medical-addons.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected34,819 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 24 | 1,686 | 363 | 18,293 |
JavaScript | 9 | 2,626 | 1,924 | 6,922 |
PHP | 27 | 1,352 | 22 | 6,015 |
SVG | 3 | 0 | 3 | 3,544 |
HTML | 5 | 0 | 0 | 45 |
PHP code Passed 2 tests
A brief analysis 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.50 |
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 | 53 | |
▷ Named functions | 53 | 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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/img/pronobox_icon.png | 0.42KB | 0.30KB | ▼ 28.37% |
assets/admin/img/hover_effects_icon.png | 2.06KB | 1.21KB | ▼ 41.43% |
assets/admin/img/infobox_icon.png | 0.61KB | 0.46KB | ▼ 23.96% |
assets/css/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
assets/css/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |