Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼140.36ms] Passed 4 tests
A check of server-side resources used by R3DF Copyright Message
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 38.07 ▲10.60 |
Dashboard /wp-admin | 3.10 ▲0.04 | 47.83 ▲0.71 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 52.33 ▲4.72 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 97.30 ▼554.85 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 33.41 ▼12.02 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
R3DF Copyright Message: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,682 ▲77 | 15.88 ▲0.35 | 9.51 ▼1.09 | 51.87 ▲1.58 |
Dashboard /wp-admin | 2,973 ▲42 | 6.03 ▲0.10 | 142.58 ▼2.67 | 118.53 ▼4.29 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.82 ▲0.01 | 68.91 ▲0.80 | 98.43 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.75 ▼0.00 | 395.88 ▼37.30 | 118.97 ▼3.30 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.00 ▲0.01 | 160.55 ▼6.89 | 127.84 ▼5.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: copyright, footer, copyright message
r3df-copyright-message/r3df-copyright-message.php Passed 13 tests
The principal PHP file in "R3DF Copyright Message" v. 1.1.0 is loaded by WordPress automatically on each request
61 characters long description:
Inserts a customizable copyright message in the theme footer.
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 plugin299 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 162 | 187 |
PO File | 1 | 15 | 18 | 51 |
CSS | 1 | 6 | 0 | 35 |
JavaScript | 1 | 3 | 2 | 26 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected