Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.18MB] [CPU: ▼19.48ms] Passed 4 tests
An overview of server-side resources used by Custom Favicon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 23.37 ▼9.66 |
Dashboard /wp-admin | 3.16 ▼0.19 | 31.00 ▼28.12 |
Posts /wp-admin/edit.php | 3.29 ▼0.07 | 34.32 ▼12.12 |
Add New Post /wp-admin/post-new.php | 5.48 ▼0.40 | 71.97 ▼28.01 |
Media Library /wp-admin/upload.php | 3.22 ▼0.00 | 28.04 ▼7.47 |
Custom Favicon /wp-admin/options-general.php?page=dot_cfi | 3.13 | 27.64 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Favicon
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.14 ▼1.29 | 1.81 ▲0.16 | 37.52 ▼0.84 |
Dashboard /wp-admin | 2,210 ▲18 | 4.85 ▼0.12 | 107.61 ▼1.90 | 42.01 ▼1.82 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▲0.00 | 38.88 ▼0.18 | 35.70 ▼3.20 |
Add New Post /wp-admin/post-new.php | 1,536 ▼2 | 23.29 ▲4.97 | 597.62 ▼81.69 | 57.98 ▲6.92 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▲0.02 | 94.42 ▼10.79 | 41.01 ▼5.42 |
Custom Favicon /wp-admin/options-general.php?page=dot_cfi | 889 | 1.84 | 34.71 | 27.50 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=dot_cfi
- > Notice in wp-content/plugins/custom-favicon/custom-favicon.php+218
Trying to access array offset on value of type bool
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: favicon, apple touch, apple touch icon, icon, theme...
custom-favicon/custom-favicon.php 92% from 13 tests
The main PHP file in "Custom Favicon" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 171 characters long)
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
There were no executable files found in this plugin213 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 88 | 67 | 150 |
PO File | 1 | 9 | 10 | 34 |
JavaScript | 1 | 5 | 12 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.62 |
▷ 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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin