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.02MB] [CPU: ▼6.07ms] Passed 4 tests
A check of server-side resources used by OS3 Website Protector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.25 ▼19.21 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.81 ▼3.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.16 ▲0.71 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.81 ▲1.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.06 ▼2.22 |
Website Protector /wp-admin/options-general.php?page=os3_protector_settings | 3.22 | 31.30 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
os3_protector_uploads |
widget_recent-posts |
widget_theysaidso_widget |
os3_protector_themes |
os3_protector_plugins |
Browser metrics Passed 4 tests
Checking browser requirements for OS3 Website Protector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.15 | 1.89 ▼0.01 | 42.14 ▼2.95 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲0.04 | 103.57 ▼17.03 | 39.49 ▼4.22 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.02 ▲0.00 | 40.29 ▼1.00 | 35.17 ▼1.19 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.35 ▲5.77 | 603.70 ▼44.49 | 70.02 ▲18.62 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.27 ▼0.00 | 96.51 ▼2.46 | 42.64 ▼3.44 |
Website Protector /wp-admin/options-general.php?page=os3_protector_settings | 825 | 2.03 | 24.80 | 26.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- os3_protector_uploads
- widget_theysaidso_widget
- db_upgraded
- os3_protector_plugins
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- os3_protector_themes
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/os3-website-protector/os3-protector.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (The OS3 Website Protector settings page) image not found
os3-website-protector/os3-protector.php 92% from 13 tests
This is the main PHP file of "OS3 Website Protector" version 0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("os3-website-protector.php" instead of "os3-protector.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin166 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 28 | 134 |
Markdown | 2 | 12 | 0 | 19 |
Bourne Shell | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 6 | |
▷ Named functions | 6 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin