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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.18ms] Passed 4 tests
An overview of server-side resources used by Elvez Edit Copyright
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.01 ▼1.62 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.37 ▼3.77 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.64 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.89 ▼4.08 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.93 ▲1.33 |
Edit Copyright /wp-admin/admin.php?page=elvez-edit-copyright | 3.22 | 31.64 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
elvez_edit_copyright_copyright_name |
widget_recent-posts |
elvez_edit_copyright_copyright_url |
elvez_edit_copyright_copyright_year |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Elvez Edit Copyright
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲180 | 13.70 ▼0.61 | 5.79 ▲4.28 | 37.35 ▼4.92 |
Dashboard /wp-admin | 2,233 ▲48 | 5.79 ▲0.83 | 101.55 ▼3.54 | 40.79 ▼0.42 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.99 ▼0.02 | 37.08 ▲1.33 | 36.18 ▲4.33 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.36 ▲0.20 | 632.15 ▼33.86 | 49.88 ▼12.64 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.23 ▲0.02 | 93.34 ▼3.08 | 41.90 ▼3.73 |
Edit Copyright /wp-admin/admin.php?page=elvez-edit-copyright | 825 | 2.06 | 23.18 | 26.71 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- elvez_edit_copyright_copyright_url
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- elvez_edit_copyright_copyright_name
- widget_theysaidso_widget
- theysaidso_admin_options
- elvez_edit_copyright_copyright_year
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/elvez-edit-copyright/admin/partials/elvez-edit-copyright-admin-display.php
- > /wp-content/plugins/elvez-edit-copyright/public/partials/elvez-edit-copyright-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: copyright, theme, footer
elvez-edit-copyright/elvez-edit-copyright.php 85% from 13 tests
The main file in "Elvez Edit Copyright" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "5.2")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin524 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 154 | 622 | 288 |
CSS | 3 | 29 | 42 | 210 |
JavaScript | 2 | 8 | 35 | 26 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 2.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | 12.90% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 1 | 6.67% |
▷ Class constants | 14 | 93.33% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin