Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲4.83MB] [CPU: ▲6.79ms] Passed 4 tests
An overview of server-side resources used by GTDB Guitar Tuners
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.80 ▲5.33 | 52.82 ▲9.16 |
Dashboard /wp-admin | 8.82 ▲5.51 | 59.15 ▲5.58 |
Posts /wp-admin/edit.php | 8.82 ▲5.46 | 62.80 ▲13.76 |
Add New Post /wp-admin/post-new.php | 8.91 ▲3.02 | 113.36 ▲0.15 |
Media Library /wp-admin/upload.php | 8.82 ▲5.59 | 52.08 ▲12.25 |
Server storage [IO: ▲4.38MB] [DB: ▲0.17MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 70 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_guitar_tuners |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
jal_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for GTDB Guitar Tuners
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲157 | 13.40 ▼0.95 | 8.10 ▲6.45 | 41.50 ▼0.52 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.03 | 92.71 ▲0.93 | 41.65 ▼1.04 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.08 | 40.69 ▲2.92 | 35.14 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.19 ▲0.05 | 662.07 ▼28.78 | 49.52 ▼1.57 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.23 ▲0.01 | 121.42 ▲9.81 | 41.94 ▼6.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- jal_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/guitar-tuner/index.php:1861
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== guitar-tuner ===
)
guitar-tuner/index.php 92% from 13 tests
Analyzing the main PHP file in "GTDB Guitar Tuners" version 4.2.2
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("guitar-tuner.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,174 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 63 | 2,065 |
CSS | 1 | 3 | 1 | 109 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.01 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/buttonoff.png | 93.54KB | 50.44KB | ▼ 46.07% |
img/buttonon.png | 13.26KB | 8.63KB | ▼ 34.90% |