Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼0.29ms] Passed 4 tests
Analyzing server-side resources used by Easy Populate Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.45 | 43.73 ▲1.66 |
Dashboard /wp-admin | 3.76 ▲0.41 | 56.62 ▼6.66 |
Posts /wp-admin/edit.php | 3.87 ▲0.52 | 54.89 ▲7.72 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 87.35 ▼0.44 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 37.74 ▲4.30 |
Easy Populate Posts /wp-admin/tools.php?page=populate-posts-settings | 3.65 | 38.39 |
Server storage [IO: ▲2.65MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
spp_settings_groups |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
spp_settings |
spp_plugin_notice_db_ver |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Populate Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲111 | 14.72 ▲0.58 | 1.74 ▲0.03 | 44.39 ▼0.26 |
Dashboard /wp-admin | 2,263 ▲83 | 5.71 ▲0.06 | 91.24 ▼5.11 | 90.33 ▲45.75 |
Posts /wp-admin/edit.php | 2,172 ▲72 | 2.09 ▲0.13 | 38.27 ▲3.80 | 36.93 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,740 ▲214 | 22.18 ▼1.10 | 706.38 ▲29.42 | 46.67 ▼23.13 |
Media Library /wp-admin/upload.php | 1,468 ▲65 | 4.27 ▲0.16 | 96.96 ▼1.18 | 82.53 ▲42.25 |
Easy Populate Posts /wp-admin/tools.php?page=populate-posts-settings | 1,908 | 2.17 | 25.28 | 58.98 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- db_upgraded
- spp_settings
- widget_recent-comments
- spp_plugin_notice_db_ver
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- spp_settings_groups
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-populate-posts/easy-populate-posts.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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:
- Requires at least: Invalid plugin version format
easy-populate-posts/easy-populate-posts.php 85% from 13 tests
The main file in "Easy Populate Posts" v. 4.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,397 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 265 | 471 | 2,125 |
PO File | 1 | 127 | 142 | 269 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 318.00 |
▷ Minimum class complexity | 318.00 |
▷ Maximum class complexity | 318.00 |
Average method complexity | 5.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 63 | |
▷ Static methods | 61 | 96.83% |
▷ Public methods | 62 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.59% |
Functions | 15 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 15 | 100.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/buy-me-a-coffee.png | 19.75KB | 7.15KB | ▼ 63.78% |
assets/images/icon-128x128.png | 40.55KB | 14.47KB | ▼ 64.32% |