78% seobrrr

Code Review | SEOBrrr Programmatic SEO

WordPress plugin SEOBrrr Programmatic SEO scored78%from 54 tests.

About plugin

  • Plugin page: seobrrr
  • Plugin version: 1.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Aug 29, 2022
  • Latest release: Aug 30, 2022
  • Number of updates: 4
  • Update frequency: every 1.0 days
  • Top authors: zerotodigital (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /346 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.74ms] Passed 4 tests

Analyzing server-side resources used by SEOBrrr Programmatic SEO
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0240.72 ▼6.45
Dashboard /wp-admin3.34 ▼0.0153.71 ▼10.52
Posts /wp-admin/edit.php3.39 ▲0.0348.12 ▼4.94
Add New Post /wp-admin/post-new.php5.92 ▲0.03101.07 ▼1.03
Media Library /wp-admin/upload.php3.26 ▲0.0337.86 ▲1.27
SEOBrrr /wp-admin/options-general.php?page=seobrrr3.2029.21

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by SEOBrrr Programmatic SEO
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.23 ▼0.303.16 ▲1.3644.34 ▲2.11
Dashboard /wp-admin2,199 ▲225.50 ▼0.10100.60 ▲10.1242.48 ▲0.98
Posts /wp-admin/edit.php2,101 ▲11.96 ▼0.0634.18 ▼6.0834.43 ▼3.26
Add New Post /wp-admin/post-new.php1,530 ▼523.45 ▲5.45661.10 ▲39.2257.11 ▼17.24
Media Library /wp-admin/upload.php1,404 ▲44.13 ▲0.01101.62 ▼1.3748.06 ▲3.07
SEOBrrr /wp-admin/options-general.php?page=seobrrr7902.0325.9127.54

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=seobrrr
    • > Notice in wp-content/plugins/seobrrr/index.php+72
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seobrrr/index.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: seo, content creation, search engine optimization, programmatic seo

seobrrr/index.php 92% from 13 tests

"SEOBrrr Programmatic SEO" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("seobrrr.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin132 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23345132

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin