Benchmarks
Plugin footprint 40% 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
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/5-sterrenspecialist/5sterrenspecialist.php+126
unlink(wp-content/plugins/5-sterrenspecialist/tmp/log.log): No such file or directory
Server metrics [RAM: ▼1.91MB] [CPU: ▼57.08ms] Passed 4 tests
A check of server-side resources used by 5sterrenspecialist
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.12 ▼38.06 |
Dashboard /wp-admin | 2.10 ▼1.21 | 5.74 ▼42.03 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.36 ▼39.99 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.70 ▼108.22 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 4.82 ▼27.85 |
5-sterrenspecialist /wp-admin/options-general.php?page=__fivesterrenspecialist_ | 2.10 | 6.05 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for 5sterrenspecialist
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.18 ▼1.18 | 4.15 ▲1.51 | 40.57 ▼4.41 |
Dashboard /wp-admin | 2,207 ▲19 | 4.85 ▼0.10 | 110.80 ▲1.89 | 42.86 ▼3.20 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.03 | 42.73 ▲6.34 | 35.49 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.19 ▲5.70 | 590.60 ▼54.42 | 64.01 ▲15.04 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▲0.03 | 92.38 ▼5.29 | 41.85 ▼3.89 |
5-sterrenspecialist /wp-admin/options-general.php?page=__fivesterrenspecialist_ | 793 | 2.06 | 23.10 | 28.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/5-sterrenspecialist/5sterrenspecialist.php+54
mkdir(): File exists
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=__fivesterrenspecialist_
- > Warning in wp-content/plugins/5-sterrenspecialist/5sterrenspecialist.php+54
mkdir(): File exists
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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 15
- > PHP Notice
Undefined variable: data in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 15
- > PHP Notice
Undefined variable: rating in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/5-sterrenspecialist/resources/admin/includes/settings.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 8
- > PHP Notice
Undefined variable: data in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/5-sterrenspecialist/5sterrenspecialist.php:31
- > PHP Notice
Undefined variable: data in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 13
- > PHP Notice
Undefined variable: rating in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 12
- > PHP Notice
Undefined variable: plural in wp-content/plugins/5-sterrenspecialist/resources/public/includes/shortcode.php on line 14
- > PHP Notice
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
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: 5sterrenspecialist, snippets, 5-sterrenspecialist, rich
5-sterrenspecialist/5sterrenspecialist.php 85% from 13 tests
The main PHP file in "5sterrenspecialist" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("5-sterrenspecialist.php" instead of "5sterrenspecialist.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected196 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 40 | 42 | 196 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 4 | 28.57% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
There are no PNG files in this plugin