Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.66ms] Passed 4 tests
Server-side resources used by TCBD Tooltip
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.02 | 44.79 ▼3.35 |
Dashboard /wp-admin | 3.58 ▲0.02 | 48.43 ▼7.07 |
Posts /wp-admin/edit.php | 3.69 ▲0.01 | 49.63 ▼6.79 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.01 | 95.77 ▼17.42 |
Media Library /wp-admin/upload.php | 3.50 ▲0.01 | 39.60 ▼1.15 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for TCBD Tooltip
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.86 ▼0.89 | 8.83 ▲6.88 | 44.78 ▲6.24 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▲0.00 | 87.50 ▼6.11 | 41.68 ▼2.00 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 39.31 ▼2.80 | 34.35 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,554 ▲11 | 18.15 ▼0.23 | 616.29 ▼26.62 | 60.46 ▲1.25 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▼0.02 | 104.36 ▼1.16 | 44.33 ▲0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 everything seems fine, this is not 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (TCBD Tooltip Button), #2 (TCBD Tooltip Link), #3 (TCBD Tooltip Text), #4 (TCBD Tooltip Preview)
tcbd-tooltip/plugin-hook.php 92% from 13 tests
The entry point to "TCBD Tooltip" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tcbd-tooltip.php" instead of "plugin-hook.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected136 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 0 | 0 | 89 |
PHP | 1 | 12 | 21 | 46 |
CSS | 1 | 0 | 0 | 1 |
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.18 |
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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 33.68KB | 14.49KB | ▼ 56.97% |
js/icon.png | 3.09KB | 3.23KB | 0.00% |
screenshot-1.png | 12.73KB | 5.40KB | ▼ 57.60% |
screenshot-3.png | 14.46KB | 7.06KB | ▼ 51.19% |
screenshot-2.png | 14.81KB | 7.27KB | ▼ 50.91% |