Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▼313.27ms] Passed 4 tests
An overview of server-side resources used by WooBuddy -> Groups
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.42 | 77.59 ▼8.08 |
Dashboard /wp-admin | 3.80 ▲0.39 | 47.85 ▲0.16 |
Posts /wp-admin/edit.php | 4.02 ▲0.37 | 62.49 ▲5.52 |
Add New Post /wp-admin/post-new.php | 7.32 ▲0.35 | 122.79 ▼1,250.66 |
Media Library /wp-admin/upload.php | 3.73 ▲0.44 | 39.94 ▲6.43 |
Install Plugins /wp-admin/admin.php?page=wc4bp-groups-install-plugins | 3.74 | 34.76 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooBuddy -> Groups
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,867 ▲113 | 15.87 ▲0.94 | 9.72 ▲1.94 | 3.97 ▲0.49 |
Dashboard /wp-admin | 2,970 ▲91 | 6.45 ▲0.00 | 188.31 ▼23.69 | 235.01 ▲28.16 |
Posts /wp-admin/edit.php | 2,743 ▲58 | 3.57 ▲0.03 | 93.05 ▲2.65 | 198.77 ▲23.69 |
Add New Post /wp-admin/post-new.php | 1,670 ▲2 | 17.00 ▼3.93 | 646.05 ▲1.00 | 195.78 ▼17.87 |
Media Library /wp-admin/upload.php | 1,746 ▲48 | 5.74 ▲0.02 | 185.41 ▼11.33 | 294.47 ▲39.80 |
Install Plugins /wp-admin/admin.php?page=wc4bp-groups-install-plugins | 1,326 | 2.74 | 68.80 | 167.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #2 (Product Single View), #3 (In the Card), #4 (Checkout Complete), #5 (In the eMail)
wc4bp-groups/wc4bp-groups.php 69% from 13 tests
The entry point to "WooBuddy -> Groups" version 1.4.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "3.6.4")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Description: Please keep the plugin description shorter than 140 characters (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,716 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 254 | 399 | 1,291 |
JavaScript | 6 | 66 | 23 | 368 |
CSS | 2 | 8 | 0 | 41 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 32.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 173 | |
▷ Static methods | 27 | 15.61% |
▷ Public methods | 141 | 81.50% |
▷ Protected methods | 26 | 15.03% |
▷ Private methods | 6 | 3.47% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin