84% stellissimo-seo-title-512px-for-google

Code Review | Stellissimo SEO Title 512px for Google

WordPress plugin Stellissimo SEO Title 512px for Google scored 84% from 54 tests.

About plugin

  • Plugin page: stellissimo-seo-t...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4
  • WordPress version: 6.3.1
  • First release: Sep 28, 2012
  • Latest release: Sep 28, 2012
  • Number of updates: 5
  • Update frequency: every 0.8 days
  • Top authors: DanielSem (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,118 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.70ms] Passed 4 tests

Server-side resources used by Stellissimo SEO Title 512px for Google
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.21 ▼7.44
Dashboard /wp-admin3.31 ▲0.0146.28 ▼5.88
Posts /wp-admin/edit.php3.36 ▲0.0148.46 ▼0.52
Add New Post /wp-admin/post-new.php5.89 ▲0.0195.57 ▲1.04
Media Library /wp-admin/upload.php3.24 ▲0.0134.59 ▼0.95

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Stellissimo SEO Title 512px for Google
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.21 ▼1.171.59 ▼0.2242.63 ▼3.26
Dashboard /wp-admin2,206 ▲184.85 ▼1.00106.49 ▼8.9042.44 ▼5.47
Posts /wp-admin/edit.php2,089 ▼01.98 ▼0.0138.65 ▲1.4536.92 ▲4.68
Add New Post /wp-admin/post-new.php1,514 ▼1917.37 ▼5.83635.56 ▼83.9759.06 ▲6.19
Media Library /wp-admin/upload.php1,391 ▼04.28 ▲0.1098.10 ▼0.0142.82 ▼6.37

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/stellissimo-seo-title-512px-for-google/sst512.php:35

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were 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
5 plugin tags: optimization title, seo, seo title for google, seo for google, seo title

stellissimo-seo-title-512px-for-google/sst512.php 92% from 13 tests

This is the main PHP file of "Stellissimo SEO Title 512px for Google" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("stellissimo-seo-title-512px-for-google.php" instead of "sst512.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected50 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1113350

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin