Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼140.07ms] Passed 4 tests
Server-side resources used by Custom Admin Footer Text
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.07 | 34.82 ▲1.95 |
Dashboard /wp-admin | 3.13 ▲0.07 | 46.50 ▲8.59 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 47.23 ▲3.16 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 88.69 ▼565.86 |
Media Library /wp-admin/upload.php | 3.08 ▲0.07 | 32.90 ▲0.46 |
Custom Admin Footer Text /wp-admin/options-general.php?page=custom-admin-footer-text | 3.05 | 28.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 1 new option
New WordPress options |
---|
caft |
Browser metrics Passed 4 tests
Custom Admin Footer Text: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.97 ▲0.06 | 8.21 ▼2.95 | 44.14 ▼3.02 |
Dashboard /wp-admin | 2,971 ▲40 | 5.95 ▼0.06 | 144.04 ▼2.72 | 110.06 ▼7.25 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.72 ▲0.01 | 61.11 ▼7.13 | 90.15 ▼4.49 |
Add New Post /wp-admin/post-new.php | 1,685 ▲185 | 18.87 ▲0.14 | 377.43 ▲1.75 | 105.20 ▼4.08 |
Media Library /wp-admin/upload.php | 1,818 ▲8 | 5.02 ▼0.02 | 139.89 ▼12.10 | 122.51 ▼2.18 |
Custom Admin Footer Text /wp-admin/options-general.php?page=custom-admin-footer-text | 1,177 | 2.06 | 56.92 | 98.47 |
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
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/custom-admin-footer-text/custom-admin-footer-text.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: footer, text, admin, client, dev...
custom-admin-footer-text/custom-admin-footer-text.php Passed 13 tests
The entry point to "Custom Admin Footer Text" version 0.1.1 is a PHP file that has certain tags in its header comment area
48 characters long description:
Change the admin footer to your own custom text.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin252 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 13 | 36 | 247 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bottom.png | 1.54KB | 1.48KB | ▼ 4.18% |
images/settings.png | 2.11KB | 2.31KB | 0.00% |
images/support.png | 5.03KB | 2.79KB | ▼ 44.54% |