89% bulk-actions-select-all

Code Review | Bulk Actions Select All

WordPress plugin Bulk Actions Select All scored89%from 54 tests.

About plugin

  • Plugin page: bulk-actions-sele...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.8
  • WordPress version: 6.3.1
  • First release: Jun 19, 2014
  • Latest release: Jun 2, 2017
  • Number of updates: 23
  • Update frequency: every 47.0 days
  • Top authors: engelen (100%)

Code review

54 tests

User reviews

30 reviews

Install metrics

1,000+ active /20,186 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Bulk Actions Select All
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.15 ▼2.90
Dashboard /wp-admin3.32 ▼0.0344.93 ▼12.24
Posts /wp-admin/edit.php3.37 ▲0.0145.49 ▲1.21
Add New Post /wp-admin/post-new.php5.92 ▲0.0391.10 ▼3.16
Media Library /wp-admin/upload.php3.24 ▲0.0132.56 ▲1.34

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Bulk Actions Select All
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.67 ▲0.321.76 ▲0.1640.81 ▲1.15
Dashboard /wp-admin2,198 ▲175.57 ▼0.0981.03 ▼13.6238.97 ▼4.55
Posts /wp-admin/edit.php2,100 ▼02.00 ▲0.0236.03 ▲0.4932.74 ▼0.11
Add New Post /wp-admin/post-new.php1,536 ▲818.37 ▼2.57597.00 ▼24.2170.61 ▲17.41
Media Library /wp-admin/upload.php1,403 ▲34.30 ▲0.1394.55 ▼0.7745.77 ▼1.65

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 8 options
    • basa_installed_timestamp
    • basa_version
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

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 87% from 29 tests

readme.txt 88% 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
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === bulk-actions-select-all === )
The official readme.txt is a good inspiration

bulk-actions-select-all/bulk-actions-select-all.php 85% from 13 tests

Analyzing the main PHP file in "Bulk Actions Select All" version 1.1.1
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 217 characters long)
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
Success! There were no dangerous files found in this plugin339 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP391244235
JavaScript215668
PO File14430
CSS1006

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity12.67
▷ Minimum class complexity6.00
▷ Maximum class complexity24.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods21
▷ Static methods14.76%
▷ Public methods1990.48%
▷ Protected methods00.00%
▷ Private methods29.52%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
There were not PNG files found in your plugin