Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼140.60ms] Passed 4 tests
Analyzing server-side resources used by AutomatorWP - BuddyPress integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 35.27 ▲11.69 |
Dashboard /wp-admin | 3.09 ▲0.03 | 47.92 ▲4.42 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 48.52 ▲4.27 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 89.16 ▼568.00 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 32.53 ▼3.09 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for AutomatorWP - BuddyPress integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲111 | 15.96 ▼0.08 | 8.74 ▼2.75 | 49.42 ▲0.53 |
Dashboard /wp-admin | 3,001 ▲67 | 5.93 ▼0.06 | 145.27 ▲7.58 | 112.14 ▼3.90 |
Posts /wp-admin/edit.php | 2,770 ▲31 | 2.73 ▲0.01 | 68.89 ▲3.47 | 94.11 ▲6.59 |
Add New Post /wp-admin/post-new.php | 1,887 ▲215 | 19.09 ▲0.26 | 368.22 ▼10.08 | 108.71 ▲2.74 |
Media Library /wp-admin/upload.php | 1,836 ▲29 | 5.05 ▲0.02 | 149.19 ▼9.14 | 124.03 ▲3.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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 no errors were found, this is by no means an exhaustive test
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automatorwp-buddypress-integration/automatorwp-buddypress.php:258
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: automation, topic, automatorwp, automator, buddypress...
automatorwp-buddypress-integration/automatorwp-buddypress.php 92% from 13 tests
The entry point to "AutomatorWP - BuddyPress integration" version 1.1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("automatorwp-buddypress-integration.php" instead of "automatorwp-buddypress.php")
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
Good job! No executable or dangerous file extensions detected688 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 210 | 466 | 594 |
SVG | 1 | 1 | 1 | 94 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 3.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 31 | |
▷ Static methods | 1 | 3.23% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin