Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wp-bulk-post-duplicator/bulk_duplicate_posts.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; WPPostsDuplicator has a deprecated constructor
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.47ms] Passed 4 tests
An overview of server-side resources used by WP Bulk Post Duplicator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.69 ▼9.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.18 ▼9.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.71 ▼2.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.19 ▼16.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 38.97 ▲1.80 |
WP Bulk Posts Duplicator /wp-admin/options-general.php?page=wp-blk-posts-duplicator | 3.17 | 31.45 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Bulk Post Duplicator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.58 ▼1.20 | 2.07 ▲0.32 | 41.08 ▼3.57 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▲0.03 | 100.59 ▼18.49 | 39.79 ▼3.81 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.05 | 39.56 ▲2.89 | 35.32 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.18 ▲0.18 | 675.79 ▲37.14 | 55.54 ▲5.07 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.24 ▲0.06 | 100.57 ▼1.41 | 43.72 ▼3.15 |
WP Bulk Posts Duplicator /wp-admin/options-general.php?page=wp-blk-posts-duplicator | 929 | 1.68 | 27.83 | 26.14 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-blk-posts-duplicator
- > Notice in wp-content/plugins/wp-bulk-post-duplicator/bulk_duplicate_posts.php+122
Undefined index: wp_psd_types
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-bulk-post-duplicator/bulk_duplicate_posts.php:361
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: bulk duplicate posts, duplicate bulk pages, huge posts duplicate, bulk duplicate, duplicate posts...
wp-bulk-post-duplicator/bulk_duplicate_posts.php 92% from 13 tests
The main PHP file in "WP Bulk Post Duplicator" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-bulk-post-duplicator.php" instead of "bulk_duplicate_posts.php")
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
Everything looks great! No dangerous files found in this plugin317 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 9 | 317 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 9.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.PNG | 52.73KB | 20.88KB | ▼ 60.41% |