Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼7.44ms] Passed 4 tests
Analyzing server-side resources used by Instasport Calendar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.33 | 41.04 ▼1.16 |
Dashboard /wp-admin | 3.68 ▲0.30 | 52.81 ▼14.22 |
Posts /wp-admin/edit.php | 3.80 ▲0.40 | 52.29 ▲0.74 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.34 | 95.65 ▼15.12 |
Media Library /wp-admin/upload.php | 3.61 ▲0.34 | 41.20 ▲5.87 |
Instasport Calendar /wp-admin/options-general.php?page=insta_calendar | 3.57 | 41.13 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Instasport Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▼0.16 | 1.62 ▲0.00 | 43.72 ▲0.85 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▼0.06 | 94.50 ▲6.08 | 40.64 ▼4.38 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.14 ▲0.13 | 39.97 ▲4.26 | 36.88 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.32 ▼0.31 | 655.58 ▼53.62 | 53.21 ▲1.85 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.15 ▼0.02 | 94.80 ▼2.74 | 45.41 ▼0.88 |
Instasport Calendar /wp-admin/options-general.php?page=insta_calendar | 846 | 2.12 | 24.51 | 30.19 |
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
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/instasport-calendar/templates/week.php
- 33× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/instasport-calendar/templates/m_event.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/instasport-calendar/templates/m_visits.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instasport-calendar/ajax.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/instasport-calendar/templates/m_email.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/instasport-calendar/instasport-calendar.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/instasport-calendar/shortcode.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/instasport-calendar/templates/m_card.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/instasport-calendar/templates/button_profile.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/instasport-calendar/templates/button_pilot.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/instasport-calendar/templates/filters.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: No tags were detected
instasport-calendar/instasport-calendar.php 92% from 13 tests
The main PHP script in "Instasport Calendar" version 2.1.10 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
There were no executable files found in this plugin9,732 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 959 | 592 | 5,994 |
PHP | 34 | 224 | 206 | 2,085 |
CSS | 1 | 212 | 15 | 1,162 |
PO File | 2 | 272 | 393 | 467 |
Markdown | 1 | 20 | 0 | 24 |
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.59 |
Average class complexity | 62.75 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 6.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 45 | |
▷ Static methods | 2 | 4.44% |
▷ Public methods | 44 | 97.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.22% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/card.png | 1.69KB | 1.56KB | ▼ 7.47% |