Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼140.39ms] Passed 4 tests
Analyzing server-side resources used by Quick Bulk Post & Page Creator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.07 | 38.75 ▲0.77 |
Dashboard /wp-admin | 3.14 ▲0.09 | 47.93 ▼1.26 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 51.13 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 91.94 ▼557.13 |
Media Library /wp-admin/upload.php | 3.09 ▲0.08 | 33.70 ▼2.87 |
Quick Post Creator /wp-admin/tools.php?page=qbppc | 3.05 | 34.17 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Quick Bulk Post & Page Creator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲71 | 15.78 ▲0.33 | 7.25 ▼2.72 | 57.99 ▲8.02 |
Dashboard /wp-admin | 2,978 ▲44 | 5.88 ▼0.09 | 133.79 ▼31.01 | 120.68 ▼7.17 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.68 ▼0.00 | 73.83 ▲8.01 | 95.38 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,501 ▼1 | 18.80 ▲0.16 | 383.35 ▲11.09 | 114.88 ▲2.49 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.01 ▼0.01 | 153.27 ▼23.73 | 130.53 ▲5.45 |
Quick Post Creator /wp-admin/tools.php?page=qbppc | 1,228 | 2.21 | 61.97 | 78.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'QBPPC_Field' not found in wp-content/plugins/quick-bulk-post-page-creator/includes/field-select.php:7
- > PHP Fatal error
Uncaught Error: Class 'QBPPC_Field' not found in wp-content/plugins/quick-bulk-post-page-creator/includes/field-text.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get_form() on null in wp-content/plugins/quick-bulk-post-page-creator/templates/form.php:3
- > PHP Notice
Undefined variable: qbppc in wp-content/plugins/quick-bulk-post-page-creator/templates/form.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'QBPPC_Field' not found in wp-content/plugins/quick-bulk-post-page-creator/includes/field-textarea.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-bulk-post-page-creator/includes/form.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
quick-bulk-post-page-creator/quick-bulk-post-page-creator.php Passed 13 tests
The main PHP file in "Quick Bulk Post & Page Creator" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
79 characters long description:
A handy tool for batch creation of posts and pages in your preferred hierarchy.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected426 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 118 | 425 | 380 |
Markdown | 1 | 22 | 0 | 46 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 4 | 9.52% |
▷ Public methods | 37 | 88.10% |
▷ Protected methods | 5 | 11.90% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin