Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/beevou/beevou.php+16
Constant BEEVOU_URL already defined
Server metrics [RAM: ▼1.92MB] [CPU: ▼59.03ms] Passed 4 tests
Analyzing server-side resources used by Beevou
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.89 ▼42.58 |
Dashboard /wp-admin | 2.09 ▼1.21 | 6.76 ▼45.83 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 7.16 ▼49.75 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 8.13 ▼97.97 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.85 ▼34.30 |
Beevou /wp-admin/options-general.php?page=Beevou | 2.09 | 6.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Beevou
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.24 ▼0.40 | 1.85 ▲0.14 | 44.88 ▲1.65 |
Dashboard /wp-admin | 2,199 ▲31 | 5.62 ▲0.04 | 83.37 ▼17.63 | 39.76 ▼5.83 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.98 ▼0.18 | 40.69 ▲1.38 | 37.50 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.22 ▲0.09 | 633.24 ▼35.98 | 54.22 ▼1.66 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.18 ▲0.01 | 100.62 ▼2.23 | 44.40 ▼1.01 |
Beevou /wp-admin/options-general.php?page=Beevou | 817 | 2.02 | 23.94 | 25.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/beevou/beevou.php+16
Constant BEEVOU_URL already defined
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=Beevou
- > Notice in wp-content/plugins/beevou/beevou.php+16
Constant BEEVOU_URL already defined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Beevou
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=Beevou
- > Notice in wp-content/plugins/beevou/includes/admin.php+2
Undefined index: beevou_hidden
SRP 50% 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 take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/beevou/beevou.php:15
- > PHP Notice
Undefined index: beevou_hidden in wp-content/plugins/beevou/includes/admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/beevou/includes/admin.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Beevou plugin administration panel), #2 (Vouchers being displayed in a page)
beevou/beevou.php Passed 13 tests
Analyzing the main PHP file in "Beevou" version 0.1
27 characters long description:
Display beevou.net vouchers
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
Everything looks great! No dangerous files found in this plugin130 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 49 | 28 | 130 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG files were detected