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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.84ms] Passed 4 tests
Server-side resources used by Change Copyright for Storefront using Widgets - Change Storefront copyright text with menus, logos, html, etc.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.06 ▼5.53 |
Dashboard /wp-admin | 3.35 ▲0.00 | 45.78 ▼14.84 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 46.25 ▼0.73 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.04 | 89.65 ▼2.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 32.76 ▼0.54 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Change Copyright for Storefront using Widgets - Change Storefront copyright text with menus, logos, html, etc.
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲56 | 14.32 ▼0.03 | 1.65 ▼0.07 | 35.49 ▼1.32 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.05 | 92.52 ▲7.20 | 42.00 ▼0.43 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.03 | 39.49 ▲4.59 | 36.85 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.20 ▼5.09 | 584.00 ▼53.80 | 65.58 ▲5.66 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▲0.00 | 96.12 ▼3.45 | 43.71 ▲1.92 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- 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 everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: footer, copyright, storefront, customizer, credit
change-storefront-copyright-widgets/change-storefront-copyright-widgets.php 92% from 13 tests
The principal PHP file in "Change Copyright for Storefront using Widgets - Change Storefront copyright text with menus, logos, html, etc." v. 1.0.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.4.0" instead of "4.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected210 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 43 | 67 | 157 |
CSS | 1 | 1 | 2 | 53 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin