83% dai-seobomb

Code Review | SEOBombasi.com

WordPress plugin SEOBombasi.com scored 83% from 54 tests.

About plugin

  • Plugin page: dai-seobomb
  • Plugin version: 1.05
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.9.4
  • WordPress version: 6.3.1
  • First release: Mar 2, 2018
  • Latest release: Oct 30, 2018
  • Number of updates: 5
  • Update frequency: every 48.4 days
  • Top authors: gameforever (100%)

Code review

54 tests

User reviews

1 review

Install metrics

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

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

An overview of server-side resources used by SEOBombasi.com
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.38 ▼1.05
Dashboard /wp-admin3.31 ▲0.0046.09 ▲2.35
Posts /wp-admin/edit.php3.36 ▲0.0048.89 ▲3.97
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.76 ▼4.34
Media Library /wp-admin/upload.php3.23 ▲0.0033.38 ▼0.71

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

SEOBombasi.com: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲1113.20 ▲0.042.06 ▲0.4044.89 ▼1.14
Dashboard /wp-admin2,206 ▼04.84 ▼1.02111.91 ▲4.4842.71 ▲0.29
Posts /wp-admin/edit.php2,089 ▲32.00 ▲0.0236.01 ▼3.2432.61 ▼1.87
Add New Post /wp-admin/post-new.php1,514 ▼2017.74 ▼5.32642.71 ▼15.2753.47 ▼2.62
Media Library /wp-admin/upload.php1,379 ▼124.18 ▲0.0898.02 ▼4.8241.30 ▼8.07

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

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
The smoke test was a success, however most plugin functionality was not tested

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
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_filter() in wp-content/plugins/dai-seobomb/seo.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Stable tag: Not defined
  • Donate link: Please fix this invalid url: ""
  • Screenshots: Add an image for screenshot #1 (http://www.seobombasi.com/seo.jpg)
The official readme.txt is a good inspiration

dai-seobomb/seo.php 92% from 13 tests

The primary PHP file in "SEOBombasi.com" version 1.05 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("dai-seobomb.php" instead of "seo.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin203 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1215203

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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