Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼30.20ms] Passed 4 tests
A check of server-side resources used by Colobe Security
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.68 ▼8.88 |
Dashboard /wp-admin | 2.99 ▼0.31 | 23.46 ▼22.11 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 26.15 ▼22.44 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 24.90 ▼63.59 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 19.57 ▼12.65 |
Colobe Security /wp-admin/plugins.php?page=colobe_security | 3.00 | 21.68 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Colobe Security: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.20 ▼1.16 | 1.62 ▼0.12 | 38.63 ▼1.90 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼0.08 | 116.09 ▲12.99 | 43.34 ▼0.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.14 ▲0.13 | 39.06 ▲2.43 | 34.35 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 18.12 ▼4.92 | 601.36 ▲34.01 | 65.90 ▲8.57 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▼0.05 | 95.09 ▲0.56 | 40.61 ▼0.99 |
Colobe Security /wp-admin/plugins.php?page=colobe_security | 883 | 2.05 | 24.57 | 42.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > 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.
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=colobe_security
- > 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/plugins.php?page=colobe_security
- > Warning in wp-content/plugins/colobe-security/colobe_admin.php+263
include_once(wp-admin): failed to open stream: Success
- > GET request to /wp-admin/plugins.php?page=colobe_security
- > Warning in wp-content/plugins/colobe-security/colobe_admin.php+263
include_once(): Failed opening '' for inclusion (include_path='.:/usr/share/php')
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/colobe-security/colobe_admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/colobe-security/colobe.php:125
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== colobe-security ===
) - Donate link: Please fix this invalid URI: ""
colobe-security/colobe.php 92% from 13 tests
The main PHP file in "Colobe Security" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("colobe-security.php" instead of "colobe.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected282 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 78 | 282 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin