84% title-keywords-seo

Code Review | TITLE KEYWORDS SEO

WordPress plugin TITLE KEYWORDS SEO scored84%from 54 tests.

About plugin

  • Plugin page: title-keywords-seo
  • Plugin version: 0.9
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.2
  • WordPress version: 6.3.1
  • First release: Feb 17, 2020
  • Latest release: Feb 29, 2020
  • Number of updates: 3
  • Update frequency: every 12.3 days
  • Top authors: faridmarconi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /419 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.11ms] Passed 4 tests

This is a short check of server-side resources used by TITLE KEYWORDS SEO
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.32 ▼5.22
Dashboard /wp-admin3.31 ▲0.0049.03 ▼2.66
Posts /wp-admin/edit.php3.36 ▲0.0048.05 ▼0.10
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.86 ▼11.10
Media Library /wp-admin/upload.php3.23 ▲0.0038.12 ▼5.46

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for TITLE KEYWORDS SEO
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.63 ▼0.762.15 ▲0.2543.76 ▼1.27
Dashboard /wp-admin2,206 ▲184.85 ▼1.03108.47 ▼3.4040.11 ▼7.63
Posts /wp-admin/edit.php2,092 ▲32.02 ▲0.0440.46 ▲3.2736.91 ▼2.36
Add New Post /wp-admin/post-new.php1,533 ▲1923.45 ▲5.74676.72 ▲36.0154.13 ▼0.04
Media Library /wp-admin/upload.php1,382 ▼34.21 ▲0.01102.77 ▲2.2045.50 ▲2.78

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/title-keywords-seo/title-keywords-seo.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 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
2 plugin tags: spam, comments

title-keywords-seo/title-keywords-seo.php Passed 13 tests

The main PHP file in "TITLE KEYWORDS SEO" ver. 0.9 adds more information about the plugin and also serves as the entry point for this plugin
104 characters long description:
This plugin transforms the title into a shortcode to repeat for all content. add a shortcode [the_title]

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
No dangerous file extensions were detected5 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1185

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.00
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin