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.39MB] [CPU: ▼3.69ms] Passed 4 tests
An overview of server-side resources used by KATISOFT
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 44.99 ▲0.57 |
Dashboard /wp-admin | 3.72 ▲0.42 | 55.14 ▼2.64 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 62.38 ▲9.79 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 101.50 ▼5.01 |
Media Library /wp-admin/upload.php | 3.62 ▲0.40 | 43.14 ▼7.67 |
Server storage [IO: ▲2.67MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 119 new files
Database: no new tables, 14 new options
New WordPress options |
---|
katisoft_plugin_chat_facebook |
katisoft_plugin_cpt |
katisoft_plugin_back_to_top |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
katisoft_plugin_custom_login_page |
katisoft_plugin_mail_smtp |
theysaidso_admin_options |
katisoft_plugin_alo_phone |
... |
Browser metrics Passed 4 tests
A check of browser resources used by KATISOFT
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲187 | 15.13 ▲0.76 | 1.88 ▼0.19 | 45.50 ▼1.18 |
Dashboard /wp-admin | 2,335 ▲146 | 7.06 ▲2.10 | 141.43 ▲23.20 | 41.49 ▼0.75 |
Posts /wp-admin/edit.php | 2,249 ▲160 | 3.58 ▲1.59 | 60.88 ▲23.76 | 36.23 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,668 ▲144 | 22.88 ▼0.50 | 592.74 ▼80.66 | 33.30 ▼27.32 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.75 ▲0.55 | 87.51 ▼28.10 | 41.61 ▼6.92 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 14 options
- can_compress_scripts
- widget_recent-comments
- katisoft_plugin_chat_facebook
- katisoft_plugin_back_to_top
- katisoft_plugin_custom_login_page
- katisoft_plugin_cpt
- katisoft_plugin
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/katisoft/templates/testimonial.php
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/katisoft/inc/Base/Enqueue.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/katisoft/templates/back-to-top.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/katisoft/inc/Api/Widgets/MediaWidget.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/katisoft/templates/alo-phone.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/katisoft/templates/mail-smtp.php:40
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/katisoft/inc/Base/WidgetController.php:11
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/katisoft/inc/Base/CustomLoginPageController.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/katisoft/templates/cpt.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/katisoft/templates/contact-form.php:1
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/katisoft/inc/Base/CustomTaxonomyController.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in katisoft/assets to your readme.txt
katisoft/katisoft.php Passed 13 tests
The main PHP script in "KATISOFT" version 1.0.6 is automatically included on every request by WordPress
76 characters long description:
KaTiSoft Plugin được phát triển bởi KaTiSoft - Web Đẹp Nha Trang
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
There were no executable files found in this plugin22,546 lines of code in 89 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 18,295 |
PHP | 54 | 285 | 393 | 3,024 |
JavaScript | 13 | 99 | 73 | 535 |
Sass | 8 | 51 | 0 | 326 |
CSS | 7 | 176 | 14 | 301 |
PO File | 2 | 12 | 24 | 41 |
Markdown | 1 | 5 | 0 | 24 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 34 | 100.00% |
▷ Final classes | 1 | 2.94% |
Methods | 166 | |
▷ Static methods | 10 | 6.02% |
▷ Public methods | 164 | 98.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.20% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 1.76MB with 0.95MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/banner-772x250.png | 300.48KB | 97.42KB | ▼ 67.58% |
assets/images/screenshot-3.png | 35.38KB | 16.74KB | ▼ 52.67% |
assets/images/screenshot-11.png | 6.05KB | 3.79KB | ▼ 37.33% |
assets/images/screenshot-8.png | 67.71KB | 33.37KB | ▼ 50.72% |
assets/images/banner-1544x500.png | 860.45KB | 330.31KB | ▼ 61.61% |