Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼130.99ms] Passed 4 tests
This is a short check of server-side resources used by Plugin Name: Handball SHV Resultate Anbindung
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.13 ▲0.41 | 38.27 ▲16.33 |
Dashboard /wp-admin | 3.44 ▲0.38 | 84.45 ▲40.71 |
Posts /wp-admin/edit.php | 3.48 ▲0.37 | 47.23 ▲2.97 |
Add New Post /wp-admin/post-new.php | 5.73 ▲0.30 | 97.94 ▼536.57 |
Media Library /wp-admin/upload.php | 3.31 ▲0.30 | 33.51 ▼6.69 |
SHV Resultate /wp-admin/options-general.php?page=tc-shv-resultate-options | 3.28 | 33.14 |
Server storage [IO: ▲0.08MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: 9 new tables, no new options
New tables |
---|
wp_tc_shv_next_games |
wp_tc_shv_team |
wp_tc_shv_ranking |
wp_tc_shv_game |
wp_tc_shv_last_results |
wp_tc_shv_updates |
wp_tc_shv_group |
wp_tc_shv_team_games |
wp_tc_shv_team_logos |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Name: Handball SHV Resultate Anbindung
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.14 ▲0.57 | 7.30 ▼0.24 | 48.17 ▼3.04 |
Dashboard /wp-admin | 2,987 ▲56 | 5.90 ▼0.20 | 136.89 ▼2.61 | 132.13 ▲19.54 |
Posts /wp-admin/edit.php | 2,758 ▲19 | 2.70 ▲0.01 | 63.85 ▼4.23 | 83.18 ▼14.38 |
Add New Post /wp-admin/post-new.php | 1,887 ▲389 | 19.18 ▲2.32 | 373.41 ▲37.57 | 108.38 ▼2.66 |
Media Library /wp-admin/upload.php | 1,826 ▲16 | 5.01 ▼0.04 | 158.94 ▼4.90 | 124.06 ▲7.02 |
SHV Resultate /wp-admin/options-general.php?page=tc-shv-resultate-options | 1,210 | 2.09 | 54.92 | 84.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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 9 tables in the database
- wp_tc_shv_next_games
- wp_tc_shv_updates
- wp_tc_shv_team
- wp_tc_shv_last_results
- wp_tc_shv_team_games
- wp_tc_shv_ranking
- wp_tc_shv_game
- wp_tc_shv_team_logos
- wp_tc_shv_group
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== Plugin Name: Handball SHV Resultate Anbindung ===
)
tc-shv-resultate/tc-shv-resultate.php Passed 13 tests
The main PHP file in "Plugin Name: Handball SHV Resultate Anbindung" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
63 characters long description:
Aktualisiert die Resultate vom SHV direkt im eigenen Wordpress.
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 plugin1,683 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 338 | 264 | 1,597 |
CSS | 2 | 54 | 4 | 62 |
YAML | 1 | 4 | 0 | 24 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 19.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 29 | 38.67% |
▷ Public methods | 51 | 68.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 32.00% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/document-icon.png | 3.46KB | 2.21KB | ▼ 35.93% |