94% advanced-pods-bulk-action

Code Review | Advanced Pods Bulk Action

WordPress plugin Advanced Pods Bulk Action scored 94% from 54 tests.

About plugin

  • Plugin page: advanced-pods-bul...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.4.2
  • WordPress version: 5.9.2
  • First release: Mar 17, 2016
  • Latest release: Mar 18, 2016
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: ipragmatech (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,036 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Advanced Pods Bulk Action
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0154.85 ▲5.50
Dashboard /wp-admin3.41 ▲0.0133.35 ▲1.59
Posts /wp-admin/edit.php3.65 ▲0.0140.32 ▲1.73
Add New Post /wp-admin/post-new.php6.88 ▼0.0995.55 ▼1,158.26
Media Library /wp-admin/upload.php3.30 ▲0.0022.84 ▼1.18

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Advanced Pods Bulk Action
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲1016.16 ▲0.456.18 ▲0.292.19 ▼0.47
Dashboard /wp-admin2,892 ▲346.08 ▼0.11116.77 ▼15.02155.02 ▼4.51
Posts /wp-admin/edit.php2,691 ▼03.24 ▼0.0063.39 ▼4.40138.73 ▼8.44
Add New Post /wp-admin/post-new.php1,618 ▼4319.49 ▲3.62372.20 ▼50.88148.28 ▼8.62
Media Library /wp-admin/upload.php1,701 ▲35.50 ▲0.02137.91 ▼3.82190.21 ▲5.67

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
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/advanced-pods-bulk-action/advanced-pods-bulk-action.php:76

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: bulk actions, pods, csv

advanced-pods-bulk-action/advanced-pods-bulk-action.php Passed 13 tests

The main file in "Advanced Pods Bulk Action" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
90 characters long description:
Adds session support to Pods Management UI so that bulk actions do not result in long URIs

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected148 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP191971
JavaScript1151163
Markdown16014

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected