78% bulk-seo-image

Code Review | Bulk SEO Image

WordPress plugin Bulk SEO Image scored 78% from 54 tests.

About plugin

  • Plugin page: bulk-seo-image
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.2
  • WordPress version: 6.3.1
  • First release: Mar 27, 2015
  • Latest release: May 13, 2015
  • Number of updates: 5
  • Update frequency: every 9.6 days
  • Top authors: SEO_tools (100%)

Code review

54 tests

User reviews

15 reviews

Install metrics

500+ active / 10,628 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

Server-side resources used by Bulk SEO Image
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.36 ▲3.06
Dashboard /wp-admin3.31 ▲0.0044.11 ▼2.45
Posts /wp-admin/edit.php3.36 ▲0.0048.04 ▲3.30
Add New Post /wp-admin/post-new.php5.89 ▲0.00104.37 ▲19.90
Media Library /wp-admin/upload.php3.23 ▲0.0034.38 ▼1.51

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Bulk SEO Image: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▼713.60 ▲0.404.46 ▲2.5142.54 ▼6.16
Dashboard /wp-admin2,210 ▲15.79 ▼0.08100.10 ▲2.6640.42 ▲0.89
Posts /wp-admin/edit.php2,090 ▲12.01 ▲0.0439.84 ▲5.9834.61 ▼1.58
Add New Post /wp-admin/post-new.php1,517 ▼1617.80 ▼5.26671.32 ▲47.2457.30 ▲2.57
Media Library /wp-admin/upload.php1,392 ▲14.19 ▼0.0196.82 ▼1.7542.88 ▼5.97
Bulk SEO Image /wp-admin/bulk-seo-image.php260.440.0913.01

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 50% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-seo-image/bulk-seo-image.php:157

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/bulk-seo-image.php
    • > Network (severe)
    wp-admin/bulk-seo-image.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

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: alt, seo, image, alt attribute

bulk-seo-image/bulk-seo-image.php 92% from 13 tests

The primary PHP file in "Bulk SEO Image" version 1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)

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
There were no executable files found in this plugin134 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1178134

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
Functions4
▷ Named functions4100.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
No PNG images were found in this plugin