73% bulk-page-maker-light

Code Review | Bulk Page Maker Light

WordPress plugin Bulk Page Maker Light scored 73% from 54 tests.

About plugin

  • Plugin page: bulk-page-maker-l...
  • Plugin version: 1.3.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.7
  • WordPress version: 5.8.1
  • First release: Apr 8, 2020
  • Latest release: Aug 2, 2021
  • Number of updates: 8
  • Update frequency: every 60.1 days
  • Top authors: sapayth (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 257 total downloads


Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.14MB] [CPU: ▼141.74ms] Passed 4 tests

This is a short check of server-side resources used by Bulk Page Maker Light
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.91 ▲0.1937.55 ▲14.95
Dashboard /wp-admin3.24 ▲0.1848.63 ▼1.08
Posts /wp-admin/edit.php3.29 ▲0.1847.61 ▼0.16
Add New Post /wp-admin/post-new.php5.53 ▲0.1097.87 ▼567.52
Media Library /wp-admin/upload.php3.12 ▲0.1135.01 ▲1.79

Server storage [IO: ▲0.04MB] [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: 23 new files
Database: 1 new table, 2 new options
New tables
New WordPress options

Browser metrics Passed 4 tests

Bulk Page Maker Light: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,723 ▲12715.79 ▲0.318.57 ▲0.6249.48 ▼6.46
Dashboard /wp-admin2,987 ▲565.89 ▼0.01143.76 ▼9.84118.61 ▼4.14
Posts /wp-admin/edit.php2,759 ▲202.70 ▼0.0074.64 ▲13.6697.08 ▼9.49
Add New Post /wp-admin/post-new.php1,696 ▲19818.80 ▼0.10394.85 ▲12.39112.76 ▼5.84
Media Library /wp-admin/upload.php1,827 ▲205.04 ▲0.02162.32 ▲2.88124.05 ▼9.75

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The plugin did not uninstall successfully, leaving 1 table in the database
    • wp_bpm_pages
  • Zombie WordPress options were found after uninstall: 2 options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/bulk-page-maker-light/includes/Admin/Pages_List.php on line 6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-page-maker-light/includes/Admin/views/bulk-page-new.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-page-maker-light/includes/Admin/views/bulk-page-list.php:3
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/bulk-page-maker-light/includes/Admin/Pages_List.php on line 6
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-page-maker-light/includes/Admin/Pages_List.php on line 6

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Donate link: Please fix this invalid URI: ""
Please take inspiration from this readme.txt

bulk-page-maker-light/bulk-page-maker-light.php 85% from 13 tests

The entry point to "Bulk Page Maker Light" version 1.3.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("5.6" instead of "5.4")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected901 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity10.00
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity2.84
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes110.00%
▷ Static methods48.00%
▷ Public methods4590.00%
▷ Protected methods24.00%
▷ Private methods36.00%
▷ Named functions888.89%
▷ Anonymous functions111.11%
▷ Global constants787.50%
▷ Class constants112.50%
▷ Public constants1100.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
No PNG files were detected