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.00MB] [CPU: ▼6.12ms] Passed 4 tests
An overview of server-side resources used by BP Beta Tester
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.23 ▲3.02 |
Dashboard /wp-admin | 3.32 ▼0.02 | 55.64 ▼8.47 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.61 ▲2.74 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.90 ▼21.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.97 ▲3.23 |
Beta Test BuddyPress /wp-admin/index.php?page=bp-beta-tester | 3.42 | 493.40 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
BP Beta Tester: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.21 | 1.71 ▼0.42 | 42.72 ▲0.33 |
Dashboard /wp-admin | 2,195 ▲21 | 5.56 ▼0.02 | 90.16 ▼5.44 | 39.40 ▲0.44 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▼0.01 | 35.35 ▼2.04 | 37.38 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.11 ▲0.07 | 677.55 ▲35.59 | 57.10 ▲3.99 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.05 | 97.93 ▼10.14 | 39.83 ▼9.05 |
Beta Test BuddyPress /wp-admin/index.php?page=bp-beta-tester | 807 | 2.02 | 26.57 | 33.96 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: test, beta, rc, betatest, buddypress
bp-beta-tester/class-bp-beta-tester.php 92% from 13 tests
The main PHP script in "BP Beta Tester" version 1.2.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bp-beta-tester.php" instead of "class-bp-beta-tester.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin569 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 98 | 204 | 444 |
CSS | 1 | 23 | 7 | 125 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 3 | |
▷ Static methods | 1 | 33.33% |
▷ Public methods | 1 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 66.67% |
Functions | 18 | |
▷ Named functions | 18 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin