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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.36ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Post Recipe
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 46.27 ▲7.24 |
Dashboard /wp-admin | 3.32 ▲0.02 | 41.86 ▼15.24 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.47 ▲7.33 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.66 ▼24.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.89 ▲3.07 |
Ultimate Post Recipe /wp-admin/options-general.php?page=uprc_settings | 3.19 | 32.79 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
uprc_options |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Post Recipe
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲152 | 13.37 ▼1.01 | 7.94 ▲6.24 | 38.41 ▼4.54 |
Dashboard /wp-admin | 2,206 ▲31 | 5.52 ▼0.12 | 89.81 ▼10.46 | 39.70 ▲1.84 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 2.03 ▲0.08 | 39.03 ▼2.04 | 39.72 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,540 ▲4 | 23.09 ▲4.68 | 661.65 ▲7.97 | 51.53 ▼15.24 |
Media Library /wp-admin/upload.php | 1,411 ▲17 | 4.17 ▼0.04 | 105.35 ▲13.67 | 44.45 ▲3.92 |
Ultimate Post Recipe /wp-admin/options-general.php?page=uprc_settings | 1,020 | 2.17 | 23.51 | 30.51 |
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 were found after uninstall: 7 options
- uprc_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
ultimate-post-recipe-light/ultimate-post-recipe-light.php 92% from 13 tests
The main PHP script in "Ultimate Post Recipe" version 1.0 is automatically included on every request by 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected5,784 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 2 | 18 | 2,533 |
PHP | 10 | 189 | 581 | 575 |
JavaScript | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 2 | 6.45% |
▷ Public methods | 25 | 80.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 19.35% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected