Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.06ms] Passed 4 tests
Analyzing server-side resources used by Remove Footer Credit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.20 ▼5.96 |
Dashboard /wp-admin | 3.34 ▼0.00 | 42.17 ▼18.60 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 43.89 ▼1.20 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.97 ▼10.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 39.68 ▲6.58 |
Remove Footer Credit /wp-admin/tools.php?page=remove-footer-credit | 3.31 | 42.43 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Remove Footer Credit: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.14 ▼1.30 | 2.05 ▲0.32 | 44.34 ▲0.76 |
Dashboard /wp-admin | 2,207 ▲19 | 5.80 ▲0.90 | 99.75 ▼6.90 | 37.80 ▼5.93 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.03 | 37.39 ▲3.19 | 33.98 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 18.59 ▼0.01 | 659.44 ▲38.30 | 63.49 ▲4.51 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.15 ▼0.05 | 93.29 ▼5.43 | 43.31 ▼0.09 |
Remove Footer Credit /wp-admin/tools.php?page=remove-footer-credit | 1,572 | 6.80 | 128.71 | 73.76 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/remove-footer-credit/sections/plugins.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/remove-footer-credit/sections/settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/remove-footer-credit/sections/plugin-info.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: text, change, remove footer credit, replace, html...
remove-footer-credit/remove-footer-credit.php Passed 13 tests
This is the main PHP file of "Remove Footer Credit" version 1.0.13, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
40 characters long description:
A simple plugin to remove footer credits
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin572 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 65 | 62 | 299 |
CSS | 1 | 13 | 1 | 122 |
PO File | 1 | 36 | 39 | 110 |
JavaScript | 1 | 14 | 0 | 41 |
PHP code Passed 2 tests
Analyzing 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.32 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 30.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/kb.png | 3.65KB | 1.70KB | ▼ 53.38% |
assets/images/st.png | 46.16KB | 15.30KB | ▼ 66.85% |
assets/images/checkemail.png | 14.26KB | 12.32KB | ▼ 13.59% |
assets/images/handshake.png | 19.65KB | 8.25KB | ▼ 58.01% |
assets/images/dm.png | 5.23KB | 2.54KB | ▼ 51.32% |