Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲5.09MB] [CPU: ▲20.66ms] 50% from 4 tests
Server-side resources used by Mass Pages/Posts Creator
Please fix the following
- CPU: The total CPU usage must kept under 500.00ms (currently 1,883.78ms on /wp-admin/admin.php?page=mass-pages-posts-creator)
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.09MB on /wp-admin/admin.php?page=mass-pages-posts-creator)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.00 ▲5.53 | 60.45 ▲22.13 |
Dashboard /wp-admin | 9.02 ▲5.67 | 70.26 ▲6.60 |
Posts /wp-admin/edit.php | 9.02 ▲5.66 | 84.83 ▲41.04 |
Add New Post /wp-admin/post-new.php | 9.38 ▲3.49 | 107.55 ▲19.52 |
Media Library /wp-admin/upload.php | 9.02 ▲5.79 | 69.13 ▲34.38 |
Getting Started /wp-admin/admin.php?page=mppc-get-started | 9.02 | 68.12 |
Quick info /wp-admin/admin.php?page=mppc-information | 9.02 | 61.48 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.02 | 60.19 |
Mass Pages/Posts Creator for WordPress /wp-admin/admin.php?page=mass-pages-posts-creator | 9.02 | 1,883.78 |
Server storage [IO: ▲4.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 265 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
fs_accounts |
fs_active_plugins |
fs_debug_mode |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Mass Pages/Posts Creator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲122 | 14.35 ▲0.10 | 1.85 ▲0.16 | 28.17 ▼13.05 |
Dashboard /wp-admin | 2,237 ▲56 | 5.56 ▼0.18 | 93.70 ▼7.81 | 79.58 ▲39.05 |
Posts /wp-admin/edit.php | 2,158 ▲58 | 1.97 ▲0.03 | 40.04 ▲0.79 | 37.22 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,565 ▲29 | 22.83 ▼0.27 | 734.87 ▲63.47 | 61.89 ▼4.74 |
Media Library /wp-admin/upload.php | 1,451 ▲54 | 4.12 ▼0.11 | 99.94 ▼10.05 | 76.42 ▲26.61 |
Getting Started /wp-admin/admin.php?page=mppc-get-started | 1,336 | 2.22 | 33.35 | 77.43 |
Quick info /wp-admin/admin.php?page=mppc-information | 1,386 | 2.19 | 30.82 | 49.23 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,112 | 1.67 | 23.12 | 26.83 |
Mass Pages/Posts Creator for WordPress /wp-admin/admin.php?page=mass-pages-posts-creator | 1,059 | 2.21 | 31.76 | 59.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/mass-pagesposts-creator/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-comments
- theysaidso_admin_options
- fs_debug_mode
- fs_active_plugins
- can_compress_scripts
- widget_recent-posts
- fs_accounts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
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 87% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Donate link: Invalid URI found ("")
- Screenshots: Add a description for screenshot #4 in mass-pagesposts-creator/assets to your readme.txt
mass-pagesposts-creator/mass-pages-posts-creator.php 85% from 13 tests
"Mass Pages/Posts Creator" version 2.1.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("mass-pagesposts-creator.php" instead of "mass-pages-posts-creator.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin37,942 lines of code in 159 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 8,181 | 17,450 | 34,813 |
CSS | 22 | 46 | 83 | 1,471 |
PO File | 4 | 528 | 684 | 1,269 |
JavaScript | 5 | 50 | 65 | 387 |
SVG | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 86.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,282 | |
▷ Static methods | 199 | 15.52% |
▷ Public methods | 882 | 68.80% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 383 | 29.88% |
Functions | 119 | |
▷ Named functions | 119 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 149 | |
▷ Global constants | 102 | 68.46% |
▷ Class constants | 47 | 31.54% |
▷ Public constants | 47 | 100.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
57 compressed PNG files occupy 1.24MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
css/images/ui-icons_888888_256x240.png.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |