Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼141.47ms] Passed 4 tests
An overview of server-side resources used by CMSE Copyright Footer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 43.50 ▲6.25 |
Dashboard /wp-admin | 3.08 ▲0.03 | 48.93 ▲1.12 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 48.62 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 85.95 ▼573.67 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 41.39 ▲9.23 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_cmse_copyright_footer_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for CMSE Copyright Footer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,704 ▲108 | 15.79 ▲0.20 | 9.77 ▼2.19 | 51.09 ▼2.45 |
Dashboard /wp-admin | 2,970 ▲39 | 5.89 ▼0.22 | 161.33 ▼2.68 | 118.44 ▼1.14 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.70 ▲0.00 | 68.59 ▼4.77 | 87.88 ▼9.65 |
Add New Post /wp-admin/post-new.php | 1,591 ▼92 | 18.79 ▲0.06 | 397.92 ▲13.74 | 112.55 ▲0.04 |
Media Library /wp-admin/upload.php | 1,807 ▲3 | 5.01 ▼0.01 | 155.13 ▲7.66 | 124.80 ▲0.57 |
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
These items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- widget_cmse_copyright_footer_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cmse-copyright-footer/cmse-copyright-footer.php:12
- > PHP Fatal error
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 97% 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: Screenshot #1 (The settings) image required
cmse-copyright-footer/cmse-copyright-footer.php Passed 13 tests
The main PHP script in "CMSE Copyright Footer" version 1.0.0 is automatically included on every request by WordPress
135 characters long description:
Add a footer copyright to the frontend with start and current year. Can also add plain text and HTML below and / or above the copyright
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin51 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 12 | 51 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 9.33KB | 4.45KB | ▼ 52.35% |