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
Please fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.49ms] Passed 4 tests
This is a short check of server-side resources used by Daddy Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 30.38 ▼12.96 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.71 ▼16.03 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.24 ▼3.87 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.57 ▼17.10 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.69 ▼0.42 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
fresh_website_activate |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Daddy Plus
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,735 ▼51 | 14.53 ▲0.18 | 1.94 ▲0.01 | 8.40 ▼33.04 |
Dashboard /wp-admin | 2,198 ▲21 | 5.66 ▼0.10 | 79.39 ▼19.37 | 38.40 ▼4.42 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.96 ▲0.01 | 33.85 ▼0.75 | 31.57 ▼6.38 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.59 ▼0.08 | 654.99 ▼17.21 | 65.06 ▲4.26 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.23 ▼0.03 | 91.95 ▼8.44 | 39.68 ▼5.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- fresh_website_activate
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 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 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/daddy-plus/inc/flixicart/frontpage/daddy-plus-index-product.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
9 plugin tags: admin, template, companion, homepage, featured...
daddy-plus/daddy-plus.php Passed 13 tests
This is the main PHP file of "Daddy Plus" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
70 characters long description:
Daddy Plus plugin provides Daddy themes extra settings for front page.
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
There were no executable files found in this plugin2,048 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 277 | 245 | 2,048 |
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.29 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 1 | 33.33% |
▷ Public methods | 1 | 33.33% |
▷ Protected methods | 2 | 66.67% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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.20MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/flixita/images/call-action-bg.png | 75.74KB | 74.02KB | ▼ 2.28% |
inc/flixita/images/call-action.png | 124.64KB | 42.49KB | ▼ 65.91% |