Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.09ms] Passed 4 tests
This is a short check of server-side resources used by SoccerPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.82 ▼0.30 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.02 ▼13.90 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 45.51 ▼2.62 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 98.31 ▲8.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.15 ▲8.47 |
Erstellen /wp-admin/post-new.php?post_type=teams | 3.32 | 40.25 |
Fupa Teams /wp-admin/edit.php?post_type=teams | 3.32 | 34.00 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SoccerPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,029 ▲283 | 13.92 ▼0.29 | 10.66 ▲8.99 | 32.30 ▼7.74 |
Dashboard /wp-admin | 2,237 ▲49 | 5.18 ▲0.15 | 110.48 ▼4.04 | 51.15 ▲10.74 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.29 ▲0.25 | 37.86 ▼5.56 | 39.20 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,704 ▲171 | 25.06 ▲1.77 | 592.87 ▼19.72 | 64.86 ▲0.44 |
Media Library /wp-admin/upload.php | 1,419 ▲37 | 4.31 ▲0.10 | 96.72 ▼6.14 | 45.95 ▲2.96 |
Erstellen /wp-admin/post-new.php?post_type=teams | 1,480 | 2.77 | 52.14 | 64.13 |
Fupa Teams /wp-admin/edit.php?post_type=teams | 1,106 | 2.22 | 32.17 | 33.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/soccerpress/includes/admin/html-admin.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/soccerpress/includes/shortcodes.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function register_post_type() in wp-content/plugins/soccerpress/includes/post-types/teams.php:52
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in soccerpress/assets to your readme.txt
soccerpress/soccerpress.php Passed 13 tests
The main PHP script in "SoccerPress" version 1.0.2 is automatically included on every request by WordPress
90 characters long description:
Mit diesem Plugin können Sie Live Tabellen von FuPa einfach auf Ihrer Webseite einbinden.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected9,445 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 2,012 | 15 | 9,165 |
PHP | 5 | 48 | 86 | 279 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 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 | 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
There were not PNG files found in your plugin