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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.28ms] Passed 4 tests
A check of server-side resources used by BP Disable Activation Reloaded
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.56 ▼1.90 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.84 ▼3.88 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.15 ▼2.96 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.16 ▼18.77 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.94 ▼3.51 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
dar_settings |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for BP Disable Activation Reloaded
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.17 ▼0.18 | 1.78 ▼0.28 | 46.15 ▲3.59 |
Dashboard /wp-admin | 2,211 ▲37 | 5.50 ▼0.17 | 88.98 ▼10.13 | 43.69 ▼4.16 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▼0.03 | 33.47 ▼3.66 | 34.62 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.13 ▲0.10 | 652.48 ▲5.92 | 52.00 ▼12.06 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.19 ▲0.06 | 97.75 ▼6.55 | 42.51 ▼5.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- dar_settings
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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 fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bp-disable-activation-reloaded/admin/fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/bp-disable-activation-reloaded/admin/header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bp-disable-activation-reloaded/admin/sidebar.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 79% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: buddypress, wpmu, activation
bp-disable-activation-reloaded/bp-disable-activation-loader.php 54% from 13 tests
The entry point to "BP Disable Activation Reloaded" version 1.2.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bp-disable-activation-reloaded.php" instead of "bp-disable-activation-loader.php")
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "BuddyPress 1.7")
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected803 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 279 | 219 | 616 |
JavaScript | 3 | 18 | 10 | 123 |
CSS | 1 | 0 | 0 | 64 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 41.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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