84% seo-search-permalink

Code Review | SEO Search Permalink

WordPress plugin SEO Search Permalink scored84%from 54 tests.

About plugin

  • Plugin page: seo-search-permalink
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.3.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2.0
  • WordPress version: 6.3.1
  • First release: Mar 30, 2019
  • Latest release: May 11, 2023
  • Number of updates: 13
  • Update frequency: every 115.6 days
  • Top authors: terrylin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /2,092 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.06MB] [CPU: ▼3.87ms] Passed 4 tests

Server-side resources used by SEO Search Permalink
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0541.00 ▲1.14
Dashboard /wp-admin3.38 ▲0.0748.85 ▼0.47
Posts /wp-admin/edit.php3.43 ▲0.0744.44 ▼8.98
Add New Post /wp-admin/post-new.php5.96 ▲0.0781.53 ▼7.15
Media Library /wp-admin/upload.php3.30 ▲0.0738.50 ▲4.64

Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
db_upgraded
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for SEO Search Permalink
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.36 ▼0.981.70 ▼0.0043.93 ▼6.12
Dashboard /wp-admin2,210 ▲255.87 ▲0.02111.61 ▲8.2843.93 ▼2.78
Posts /wp-admin/edit.php2,093 ▲42.01 ▲0.0034.89 ▼6.3931.44 ▼6.30
Add New Post /wp-admin/post-new.php1,536 ▼023.48 ▲0.35671.79 ▼45.7154.60 ▲6.25
Media Library /wp-admin/upload.php1,395 ▲44.20 ▲0.0193.93 ▼2.8941.37 ▼0.32
SEO Search Permalink /wp-admin/seo-search-permalink.php260.440.0814.36

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
    • > GET request to /wp-admin/seo-search-permalink.php
    • > Network (severe)
    wp-admin/seo-search-permalink.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: seo, search permalink, permalink, search url

seo-search-permalink/seo-search-permalink.php 92% from 13 tests

This is the main PHP file of "SEO Search Permalink" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 223 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin489 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP467114398
PO File1263591

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin