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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.24ms] Passed 4 tests
Server-side resources used by Premium Addons for KingComposer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.69 ▼6.44 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.87 ▼10.90 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.44 ▲0.72 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.83 ▲2.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.62 ▼0.35 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 235 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Premium Addons for KingComposer: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 14.74 ▲0.16 | 1.88 ▲0.05 | 39.03 ▼3.91 |
Dashboard /wp-admin | 2,209 ▲24 | 5.80 ▼0.09 | 96.32 ▼20.23 | 39.88 ▼7.54 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.01 | 38.70 ▲2.75 | 36.19 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,540 ▲6 | 23.11 ▲0.00 | 602.71 ▼65.97 | 45.60 ▼9.82 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.00 | 97.19 ▼17.42 | 43.07 ▼5.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: toolkit, shortcodes, kingcomposer, framework
premium-addons-for-kingcomposer/octagon-kc-elements.php 85% from 13 tests
"Premium Addons for KingComposer" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("premium-addons-for-kingcomposer.php" instead of "octagon-kc-elements.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin20,072 lines of code in 156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 100 | 4,007 | 2,160 | 15,695 |
CSS | 31 | 596 | 342 | 2,717 |
JavaScript | 17 | 683 | 447 | 1,251 |
SVG | 5 | 3 | 0 | 232 |
Markdown | 3 | 71 | 0 | 177 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 17.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 48 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 240 | |
▷ Static methods | 5 | 2.08% |
▷ Public methods | 193 | 80.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 47 | 19.58% |
Functions | 54 | |
▷ Named functions | 53 | 98.15% |
▷ Anonymous functions | 1 | 1.85% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
64 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/image/kc-icon-timeline.png | 1.15KB | 0.65KB | ▼ 43.02% |
core/assets/image/grid-creator/select-arrow.png | 0.15KB | 0.14KB | ▼ 3.27% |
assets/image/kc-icon-testimonial-slider.png | 1.65KB | 1.07KB | ▼ 35.19% |
assets/image/kc-icon-content-type-slider.png | 1.15KB | 0.74KB | ▼ 35.93% |
core/assets/image/kc-icon-advance-separator.png | 0.60KB | 0.44KB | ▼ 27.15% |