Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.65MB] [CPU: ▼15.42ms] Passed 4 tests
Analyzing server-side resources used by Kads SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 43.03 ▼1.83 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.47 ▼1.59 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 56.02 ▲4.72 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.71 | 38.05 ▼60.63 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.80 ▲2.39 |
General Settings /wp-admin/admin.php?page=kads_seo_general_settings | 3.33 | 60.52 |
Social Meta /wp-admin/admin.php?page=kads_seo_social_meta | 3.33 | 51.21 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 30 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_kads_seo |
New WordPress options |
---|
_kseo_db_setup_version |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Kads SEO
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,718 ▼68 | 13.26 ▼1.10 | 1.79 ▼0.47 | 42.60 ▼2.06 |
Dashboard /wp-admin | 2,251 ▲80 | 5.80 ▲0.22 | 92.46 ▼17.43 | 38.61 ▼6.75 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 2.34 ▲0.38 | 38.51 ▲0.77 | 33.11 ▼2.72 |
Add New Post /wp-admin/post-new.php | 4,425 ▲2,899 | 21.99 ▼1.64 | 671.93 ▼14.76 | 46.85 ▼6.81 |
Media Library /wp-admin/upload.php | 1,459 ▲59 | 4.51 ▲0.38 | 103.70 ▼4.33 | 45.57 ▲0.13 |
General Settings /wp-admin/admin.php?page=kads_seo_general_settings | 2,619 | 3.40 | 59.93 | 90.02 |
Social Meta /wp-admin/admin.php?page=kads_seo_social_meta | 1,987 | 3.32 | 42.19 | 77.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- _kseo_db_setup_version
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/kads-seo/themes/welcome.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/kads-seo/themes/sitemap.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/kads-seo/themes/social.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/kads-seo/themes/general.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
kads-seo/kads-seo.php Passed 13 tests
The principal PHP file in "Kads SEO" v. 1.3.7 is loaded by WordPress automatically on each request
105 characters long description:
Use Kads SEO to optimize your WordPress site for SEO. It’s easy and works out of the box for beginners.
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
No dangerous file extensions were detected6,815 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 381 | 256 | 4,298 |
CSS | 3 | 85 | 6 | 2,057 |
JavaScript | 3 | 71 | 24 | 449 |
HTML | 1 | 0 | 5 | 11 |
PHP code Passed 2 tests
A short review of 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.46 |
Average class complexity | 146.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 369.00 |
Average method complexity | 5.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 102 | |
▷ Static methods | 1 | 0.98% |
▷ Public methods | 65 | 63.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 37 | 36.27% |
Functions | 51 | |
▷ Named functions | 51 | 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 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/image-placeholder.png | 2.49KB | 2.67KB | 0.00% |