Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.47MB] [CPU: ▼17.47ms] Passed 4 tests
Analyzing server-side resources used by KudaniConnect
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 36.62 ▼5.36 |
Dashboard /wp-admin | 3.57 ▲0.26 | 49.14 ▼3.61 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 49.50 ▼1.86 |
Add New Post /wp-admin/post-new.php | 3.36 ▼2.52 | 37.12 ▼59.04 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.90 ▲2.32 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
kudani_jwt_secret_key |
db_upgraded |
can_compress_scripts |
kc_post_preview |
Browser metrics Passed 4 tests
An overview of browser requirements for KudaniConnect
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.61 ▼1.15 | 2.09 ▲0.29 | 37.05 ▼9.79 |
Dashboard /wp-admin | 2,216 ▲31 | 4.86 ▼0.96 | 97.17 ▼2.55 | 37.71 ▼7.90 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.04 | 40.16 ▼0.86 | 35.47 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.41 ▲5.69 | 607.56 ▼43.69 | 57.59 ▲6.30 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.18 ▼0.05 | 95.87 ▼3.10 | 41.45 ▼3.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- kudani_jwt_secret_key
- kc_post_preview
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/kudaniconnect/kudani-connect.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: content marketing, social media, facebook, campaign manager, promotion...
kudaniconnect/kudani-connect.php 92% from 13 tests
The principal PHP file in "KudaniConnect" v. 2.1.7 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kudaniconnect.php" instead of "kudani-connect.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,156 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 256 | 706 | 1,156 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 13 | 14.94% |
▷ Public methods | 76 | 87.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 12.64% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin