84% apoyl-keywordseo

Code Review | [凹凸曼]内链关键词SEO

WordPress plugin [凹凸曼]内链关键词SEO scored84%from 54 tests.

About plugin

  • Plugin page: apoyl-keywordseo
  • Plugin version: 1.5.0
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3.1-6.4
  • WordPress version: 6.3.1
  • First release: Oct 27, 2022
  • Latest release: Nov 23, 2023
  • Number of updates: 8
  • Update frequency: every 49.0 days
  • Top authors: apoyl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /568 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.55 ▼2.46
Dashboard /wp-admin3.32 ▼0.0346.75 ▼14.18
Posts /wp-admin/edit.php3.37 ▲0.0148.30 ▲2.50
Add New Post /wp-admin/post-new.php5.90 ▲0.0194.24 ▲1.04
Media Library /wp-admin/upload.php3.24 ▲0.0135.38 ▲0.55
settings /wp-admin/options-general.php?page=apoyl-keywordseo-settings3.2731.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5714.72 ▲0.451.99 ▲0.2236.94 ▼6.19
Dashboard /wp-admin2,199 ▲255.58 ▼0.0089.70 ▼6.7142.51 ▼3.01
Posts /wp-admin/edit.php2,104 ▲41.95 ▼0.0640.41 ▲0.1336.04 ▲2.03
Add New Post /wp-admin/post-new.php1,529 ▼623.20 ▼1.87615.67 ▼45.8053.23 ▼8.75
Media Library /wp-admin/upload.php1,407 ▲74.20 ▼0.0399.12 ▼0.9341.31 ▼1.05
settings /wp-admin/options-general.php?page=apoyl-keywordseo-settings9242.1224.1627.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP1499150328
JavaScript1203

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 code0.15
Average class complexity1.75
▷ Minimum class complexity1.00
▷ Maximum class complexity4.00
Average method complexity1.21
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods28
▷ Static methods414.29%
▷ Public methods2382.14%
▷ Protected methods00.00%
▷ Private methods517.86%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.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