78% bulk-post-update-date

Code Review | Bulk Post Update Date

WordPress plugin Bulk Post Update Date scored78%from 54 tests.

About plugin

  • Plugin page: bulk-post-update-...
  • Plugin version: 1.5.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.3
  • WordPress version: 6.3.1
  • First release: May 4, 2018
  • Latest release: Aug 25, 2023
  • Number of updates: 25
  • Update frequency: every 77.6 days
  • Top authors: atiqsamtia (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

9,000+ active /37,842 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.04MB] [CPU: ▼3.19ms] Passed 4 tests

Analyzing server-side resources used by Bulk Post Update Date
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0435.73 ▼1.84
Dashboard /wp-admin3.35 ▲0.0448.97 ▲3.68
Posts /wp-admin/edit.php3.40 ▲0.0447.90 ▲1.51
Add New Post /wp-admin/post-new.php5.93 ▲0.0479.11 ▼16.12
Media Library /wp-admin/upload.php3.27 ▲0.0433.27 ▲4.21
Bulk Post Update Date /wp-admin/options-general.php?page=bulk-post-update-date3.2432.15

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Bulk Post Update Date
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3313.62 ▼0.775.13 ▲3.2744.55 ▲1.08
Dashboard /wp-admin2,213 ▲224.85 ▼1.0595.30 ▼5.6537.35 ▼5.81
Posts /wp-admin/edit.php2,090 ▲12.05 ▲0.0834.51 ▼3.0232.08 ▼2.23
Add New Post /wp-admin/post-new.php1,517 ▼217.63 ▼5.10676.75 ▲26.6755.41 ▲2.25
Media Library /wp-admin/upload.php1,389 ▲14.19 ▼0.0297.19 ▼3.1141.95 ▼7.28
Bulk Post Update Date /wp-admin/options-general.php?page=bulk-post-update-date1,1332.1433.6566.01

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 5× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/bulk-post-update-date/comments.php
    • > /wp-content/plugins/bulk-post-update-date/posts.php
    • > /wp-content/plugins/bulk-post-update-date/inc.php
    • > /wp-content/plugins/bulk-post-update-date/custom.php
    • > /wp-content/plugins/bulk-post-update-date/pages.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-post-update-date/index.php:34

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 90% 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
8 plugin tags: posts, bulk, google, modified date, update...

bulk-post-update-date/index.php 77% from 13 tests

Analyzing the main PHP file in "Bulk Post Update Date" version 1.5.0
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("bulk-post-update-date.php" instead of "index.php")
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 214 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected572 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP612636386
SVG10099
CSS10087

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
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

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin