Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼6.71ms] Passed 4 tests
Analyzing server-side resources used by Smart Keywords Tool - 智能关键词插件
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 37.07 ▼2.83 |
Dashboard /wp-admin | 3.60 ▲0.26 | 47.43 ▼10.80 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 47.07 ▲0.18 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 88.41 ▼13.37 |
Media Library /wp-admin/upload.php | 3.52 ▲0.30 | 40.09 ▲5.65 |
Smart Keywords Tool /wp-admin/options-general.php?page=skt_pack | 3.51 | 33.21 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smart Keywords Tool - 智能关键词插件
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.23 ▼0.05 | 1.66 ▼0.06 | 40.38 ▲1.80 |
Dashboard /wp-admin | 2,199 ▲18 | 5.57 ▼0.19 | 85.31 ▼11.21 | 38.20 ▼4.89 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.00 ▼0.01 | 33.13 ▼2.73 | 31.32 ▼5.12 |
Add New Post /wp-admin/post-new.php | 1,643 ▲117 | 24.04 ▲0.35 | 671.45 ▼25.17 | 71.31 ▲11.86 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.29 ▼0.01 | 100.32 ▲0.61 | 45.35 ▲3.48 |
Smart Keywords Tool /wp-admin/options-general.php?page=skt_pack | 1,315 | 6.82 | 114.79 | 127.64 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/smart-keywords-tool/inc/_admin_footer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: opencalais, keyword, block, iflytek, google...
smart-keywords-tool/index.php 77% from 13 tests
This is the main PHP file of "Smart Keywords Tool - 智能关键词插件" version 1.6.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("smart-keywords-tool.php" instead of "index.php")
- Requires PHP: Required version does not match the one declared in readme.txt ("7.0" instead of "5.6.0")
- Description: The description should be shorter than 140 characters (currently 190 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,495 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 273 | 116 | 2,092 |
PO File | 2 | 154 | 184 | 376 |
JavaScript | 12 | 0 | 59 | 16 |
SVG | 7 | 0 | 0 | 7 |
CSS | 3 | 0 | 3 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 181.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 361.00 |
Average method complexity | 9.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 42 | 95.45% |
▷ Public methods | 43 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.27% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.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.03MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tpl/assets/img/bsl.abf3bf80.png | 28.97KB | 28.95KB | 0.06% |