Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.76ms] Passed 4 tests
Analyzing server-side resources used by [凹凸曼]内链关键词SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.55 ▼2.46 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.75 ▼14.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.30 ▲2.50 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.24 ▲1.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.38 ▲0.55 |
settings /wp-admin/options-general.php?page=apoyl-keywordseo-settings | 3.27 | 31.77 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
apoyl-keywordseo-settings |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for [凹凸曼]内链关键词SEO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲57 | 14.72 ▲0.45 | 1.99 ▲0.22 | 36.94 ▼6.19 |
Dashboard /wp-admin | 2,199 ▲25 | 5.58 ▼0.00 | 89.70 ▼6.71 | 42.51 ▼3.01 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.06 | 40.41 ▲0.13 | 36.04 ▲2.03 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.20 ▼1.87 | 615.67 ▼45.80 | 53.23 ▼8.75 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.03 | 99.12 ▼0.93 | 41.31 ▼1.05 |
settings /wp-admin/options-general.php?page=apoyl-keywordseo-settings | 924 | 2.12 | 24.16 | 27.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/apoyl-keywordseo/public/partials/public-display.php on line 10
- > PHP Notice
Undefined variable: arr in wp-content/plugins/apoyl-keywordseo/public/partials/public-display.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/apoyl-keywordseo/admin/partials/setting.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/apoyl-keywordseo/admin/partials/nav.php:11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: keywords, seo
apoyl-keywordseo/apoyl-keywordseo.php 92% from 13 tests
The principal PHP file in "[凹凸曼]内链关键词SEO" v. 1.5.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 208 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin331 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 99 | 150 | 328 |
JavaScript | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
An overview 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.15 |
Average class complexity | 1.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 4 | 14.29% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected