Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Parse error in wp-content/plugins/wp-get-keywords/wp-get-keywords.php+132
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.60ms] Passed 4 tests
Analyzing server-side resources used by Wordpress Get KeyWords
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.84 ▲1.96 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.54 ▼2.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.40 ▼14.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.73 ▼5.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.85 ▼0.02 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wordpress Get KeyWords
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.11 | 5.44 ▲3.87 | 47.19 ▲0.41 |
Dashboard /wp-admin | 2,206 ▲57 | 4.88 ▼0.74 | 105.91 ▼10.10 | 38.18 ▼19.20 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 50.82 ▲13.06 | 34.38 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,524 ▼11 | 23.19 ▲0.10 | 657.65 ▼18.77 | 56.73 ▼21.90 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.18 ▼0.02 | 102.14 ▼13.77 | 42.56 ▼1.14 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
The following issues need your attention
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-get-keywords/wp-get-keywords-config.php on line 5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-get-keywords/wp-get-keywords-config.php on line 5
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/wp-get-keywords/wp-get-keywords-config.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/wp-get-keywords/wp-get-keywords-config.php:7
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/wp-get-keywords/wp-get-keywords.php on line 132
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-get-keywords/wp-get-keywords-config.php on line 5
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/wp-get-keywords/wp-get-keywords-config.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Contributors: There were no tags found
- Contributors: Contributors not specified
wp-get-keywords/wp-get-keywords.php Passed 13 tests
"Wordpress Get KeyWords" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
96 characters long description:
获取网站入口关键词,调用代码if(function_exists('keywords_show')){keywords_show();}
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
There were no executable files found in this plugin371 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 33 | 34 | 371 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin