Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 37.55 ▲14.95 |
Dashboard /wp-admin | 3.24 ▲0.18 | 48.63 ▼1.08 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 47.61 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.10 | 97.87 ▼567.52 |
Media Library /wp-admin/upload.php | 3.12 ▲0.11 | 35.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 |
---|
wp_bpm_pages |
New WordPress options |
---|
BPM_INSTALLED |
BPM_VERSION |
Browser metrics Passed 4 tests
Bulk Page Maker Light: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲127 | 15.79 ▲0.31 | 8.57 ▲0.62 | 49.48 ▼6.46 |
Dashboard /wp-admin | 2,987 ▲56 | 5.89 ▼0.01 | 143.76 ▼9.84 | 118.61 ▼4.14 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.70 ▼0.00 | 74.64 ▲13.66 | 97.08 ▼9.49 |
Add New Post /wp-admin/post-new.php | 1,696 ▲198 | 18.80 ▼0.10 | 394.85 ▲12.39 | 112.76 ▼5.84 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.04 ▲0.02 | 162.32 ▲2.88 | 124.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
- BPM_INSTALLED
- BPM_VERSION
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
- > PHP Fatal error
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
Optimizations
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: ""
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 214 | 317 | 866 |
JSON | 2 | 0 | 0 | 21 |
JavaScript | 1 | 2 | 0 | 14 |
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 code | 0.35 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 50 | |
▷ Static methods | 4 | 8.00% |
▷ Public methods | 45 | 90.00% |
▷ Protected methods | 2 | 4.00% |
▷ Private methods | 3 | 6.00% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.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