Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.46ms] Passed 4 tests
Analyzing server-side resources used by Bulk Page Stub Creator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.34 ▼1.24 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.21 ▼16.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.84 ▼2.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.14 ▼13.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.83 ▲2.72 |
Bulk Page Stub Creator /wp-admin/tools.php?page=bulk-page-stub-creator | 3.20 | 26.61 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Bulk Page Stub Creator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.39 ▲0.11 | 2.21 ▲0.46 | 44.27 ▼1.26 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▲0.01 | 89.41 ▼0.72 | 40.40 ▲0.11 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.00 | 33.78 ▼4.72 | 33.40 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.99 ▼0.13 | 668.33 ▲29.38 | 50.23 ▼7.14 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.21 ▲0.05 | 101.37 ▲4.33 | 44.19 ▼0.12 |
Bulk Page Stub Creator /wp-admin/tools.php?page=bulk-page-stub-creator | 816 | 1.99 | 22.72 | 29.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-page-stub-creator/includes/show-admin-page.php:138
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-page-stub-creator/includes/show-admin-page.php:138
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (The main bulk page stub creator admin page), #2 (The results of a bulk page stub creation), #3 (If WordPress finds that the requested slugs either were invalid or already in use it automatically renames the slug to a non-conflicting name.)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== bulk-page-stub-creator ===
)
bulk-page-stub-creator/bulk-page-stub-creator.php Passed 13 tests
The main file in "Bulk Page Stub Creator" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
81 characters long description:
Bulk create page stubs by simply providing a plain text list of titles and slugs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin149 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 63 | 149 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 28.76KB | 13.25KB | ▼ 53.91% |
screenshot-1.png | 82.31KB | 28.12KB | ▼ 65.84% |
screenshot-2.png | 22.32KB | 11.00KB | ▼ 50.73% |