Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.38ms] Passed 4 tests
A check of server-side resources used by Bulk Page Maker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.02 ▼1.72 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.75 ▼0.11 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.37 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 82.24 ▼16.20 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 38.83 ▲5.91 |
Bulk Add New /wp-admin/edit.php?post_type=page&page=bulk-add-new-pages | 3.30 | 38.02 |
Bulk Add New /wp-admin/edit.php?page=bulk-add-new-posts | 3.29 | 35.86 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk Page Maker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.31 ▼0.96 | 4.69 ▲3.02 | 42.49 ▲3.29 |
Dashboard /wp-admin | 2,208 ▲20 | 5.75 ▼0.13 | 100.14 ▼5.54 | 38.82 ▼1.32 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.05 | 33.72 ▼7.67 | 37.99 ▲1.81 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.11 ▼0.30 | 667.08 ▼3.57 | 50.23 ▲1.92 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.21 ▼0.08 | 101.79 ▲3.10 | 43.42 ▼0.56 |
Bulk Add New /wp-admin/edit.php?post_type=page&page=bulk-add-new-pages | 2,777 | 6.76 | 145.06 | 61.98 |
Bulk Add New /wp-admin/edit.php?page=bulk-add-new-posts | 3,138 | 6.83 | 125.03 | 47.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-page-maker/bulk-page-maker.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Pages > Bulk Add New)
- Screenshots: Please a description for screenshot #0 in bulk-page-maker/assets to your readme.txt
bulk-page-maker/bulk-page-maker.php 92% from 13 tests
The main file in "Bulk Page Maker" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected177 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 146 | 9 | 177 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.24MB with 0.17MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 248.65KB | 73.49KB | ▼ 70.44% |