Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.56MB] [CPU: ▲3.88ms] Passed 4 tests
Server-side resources used by Plutus Recipe Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 54.07 ▲14.69 |
Dashboard /wp-admin | 3.88 ▲0.58 | 52.83 ▲3.69 |
Posts /wp-admin/edit.php | 3.93 ▲0.58 | 48.47 ▲0.14 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 93.39 ▲1.34 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 45.18 ▲10.33 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please try to fix the following items
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/plutus-recipe-pro/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Plutus Recipe Pro: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲179 | 13.71 ▼0.67 | 8.12 ▲6.54 | 42.20 ▼0.08 |
Dashboard /wp-admin | 2,221 ▲21 | 5.85 ▲0.03 | 100.86 ▼6.62 | 41.38 ▼7.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.02 | 34.47 ▼5.60 | 35.89 ▲2.49 |
Add New Post /wp-admin/post-new.php | 7,327 ▲5,795 | 25.75 ▲2.68 | 1,033.37 ▲387.40 | 58.08 ▲6.43 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.21 ▼0.09 | 98.29 ▼5.02 | 43.90 ▼2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: food, recipes, seo, cooking, recipe...
plutus-recipe-pro/plutus-recipe-pro.php 85% from 13 tests
The main PHP script in "Plutus Recipe Pro" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Description: Please keep the plugin description shorter than 140 characters (currently 173 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected6,182 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 587 | 369 | 3,257 |
CSS | 8 | 249 | 46 | 2,476 |
JavaScript | 8 | 45 | 18 | 449 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 15.22 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 30 | 53.57% |
▷ Public methods | 32 | 57.14% |
▷ Protected methods | 4 | 7.14% |
▷ Private methods | 20 | 35.71% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 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.10MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plutus.png | 6.92KB | 3.41KB | ▼ 50.78% |
images/plutus-placeholder.png | 100.24KB | 73.05KB | ▼ 27.12% |