Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▲0.38ms] Passed 4 tests
An overview of server-side resources used by Daily logo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 40.26 ▼3.02 |
Dashboard /wp-admin | 3.53 ▲0.23 | 46.47 ▼6.13 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 50.10 ▲5.90 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 97.09 ▲11.98 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 38.09 ▲4.77 |
Manage /wp-admin/admin.php?page=daily_logo_menu | 3.43 | 33.65 |
Settings /wp-admin/admin.php?page=daily_logo_menu_settings | 3.43 | 35.09 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 27 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_daily_logo |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
daily_logo_db_version |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Daily logo
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.16 ▼1.27 | 1.58 ▼0.24 | 41.34 ▼2.31 |
Dashboard /wp-admin | 2,235 ▲44 | 4.86 ▼0.01 | 105.98 ▼8.83 | 39.43 ▼8.14 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.03 ▲0.05 | 39.19 ▼2.35 | 35.27 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.15 ▼0.15 | 691.06 ▲35.59 | 56.34 ▲8.70 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.26 ▲0.08 | 94.13 ▼7.18 | 42.50 ▲0.45 |
Manage /wp-admin/admin.php?page=daily_logo_menu | 1,767 | 2.03 | 57.22 | 39.92 |
Settings /wp-admin/admin.php?page=daily_logo_menu_settings | 1,091 | 2.19 | 42.13 | 67.04 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- daily_logo_db_version
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/daily-logo/daily-logo-services.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/daily-logo/daily-logo-services.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/daily-logo/daily-logo-utils.php:187
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/daily-logo/daily-logo-services.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Daily logo items management), #2 (Settings admin page)
daily-logo/daily-logo.php 92% from 13 tests
The main file in "Daily logo" v. 2.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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
Success! There were no dangerous files found in this plugin6,182 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 4,305 |
PHP | 8 | 204 | 475 | 998 |
CSS | 2 | 42 | 67 | 416 |
JavaScript | 2 | 45 | 74 | 236 |
PO File | 1 | 76 | 86 | 227 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/icon32.png | 1.28KB | 1.02KB | ▼ 20.35% |