84% advanced-pods-bulk-action

Code Review | Advanced Pods Bulk Action

WordPress plugin Advanced Pods Bulk Action scored84%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: 6.3.1
  • 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

10+ active /1,267 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
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼8.28ms] 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.49 ▲0.0237.23 ▼8.64
Dashboard /wp-admin3.33 ▲0.0246.20 ▼5.43
Posts /wp-admin/edit.php3.38 ▲0.0252.73 ▼1.40
Add New Post /wp-admin/post-new.php5.91 ▲0.0287.14 ▼16.44
Media Library /wp-admin/upload.php3.25 ▲0.0235.92 ▼2.60

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 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

This is an overview of browser requirements for Advanced Pods Bulk Action
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.37 ▲0.012.49 ▲0.4540.99 ▼1.16
Dashboard /wp-admin2,198 ▲215.67 ▼0.0095.02 ▲4.7742.26 ▲0.05
Posts /wp-admin/edit.php2,100 ▼01.99 ▼0.0139.02 ▲2.2435.56 ▼1.01
Add New Post /wp-admin/post-new.php1,526 ▼022.97 ▼0.59609.83 ▼79.6354.37 ▼5.88
Media Library /wp-admin/upload.php1,391 ▼64.17 ▲0.0598.27 ▼21.0242.91 ▼7.30

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

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 | 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 have triggered server-side errors or warnings:
    • > 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 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: bulk actions, pods, csv

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

"Advanced Pods Bulk Action" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin148 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP191971
JavaScript1151163
Markdown16014

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
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

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin