Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/5sterrenspecialist-wc-invites/classes/FiveSter/Log/Debug.php+15
unlink(wp-content/plugins/5sterrenspecialist-wc-invites/tmp/log.log): No such file or directory
Server metrics [RAM: ▼2.50MB] [CPU: ▼357.06ms] Passed 4 tests
This is a short check of server-side resources used by 5sterrenspecialist invite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.94 ▼1.58 | 4.47 ▼60.72 |
Dashboard /wp-admin | 1.96 ▼1.45 | 5.19 ▼39.51 |
Posts /wp-admin/edit.php | 1.96 ▼1.96 | 3.84 ▼56.29 |
Add New Post /wp-admin/post-new.php | 1.96 ▼5.02 | 4.29 ▼1,271.71 |
Media Library /wp-admin/upload.php | 1.96 ▼1.34 | 4.25 ▼21.68 |
5sterrenspecialist Invite /wp-admin/options-general.php?page=_fivester_invite | 1.96 | 4.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for 5sterrenspecialist invite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲46 | 15.65 ▲0.23 | 5.51 ▼0.07 | 2.19 ▲0.09 |
Dashboard /wp-admin | 2,894 ▲43 | 6.16 ▼0.03 | 119.97 ▼20.59 | 157.01 ▼2.28 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.00 | 64.32 ▼7.60 | 146.97 ▼18.97 |
Add New Post /wp-admin/post-new.php | 1,755 ▲89 | 20.97 ▲0.66 | 569.21 ▲42.45 | 172.64 ▼12.61 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.49 ▲0.00 | 143.30 ▲8.82 | 211.62 ▲22.89 |
5sterrenspecialist Invite /wp-admin/options-general.php?page=_fivester_invite | 971 | 2.37 | 56.54 | 109.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/5sterrenspecialist-wc-invites/classes/FiveSter/Plugin.php+15
mkdir(): File exists
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=_fivester_invite
- > Warning in wp-content/plugins/5sterrenspecialist-wc-invites/classes/FiveSter/Plugin.php+15
mkdir(): File exists
- > GET request to /wp-admin/options-general.php?page=_fivester_invite
- > Notice in wp-content/plugins/5sterrenspecialist-wc-invites/resources/admin/includes/settings.php+5
Undefined index: tab
SRP 0% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/5sterrenspecialist-wc-invites/resources/templates/footer.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/5sterrenspecialist-wc-invites/resources/admin/includes/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/5sterrenspecialist-wc-invites/invite.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: rich, 5sterrenspecialist, 5-sterrenspecialist-invite, snippets
5sterrenspecialist-wc-invites/invite.php 85% from 13 tests
The main PHP file in "5sterrenspecialist invite" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("5sterrenspecialist-wc-invites.php" instead of "invite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin246 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 59 | 29 | 246 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 3.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 8 | 42.11% |
▷ Public methods | 16 | 84.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 15.79% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
PNG images were not found in this plugin