Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼144.77ms] Passed 4 tests
This is a short check of server-side resources used by Bubble Critic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 36.86 ▲13.14 |
Dashboard /wp-admin | 3.07 ▲0.01 | 45.54 ▼0.23 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 44.75 ▼3.34 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 94.28 ▼562.89 |
Media Library /wp-admin/upload.php | 3.01 ▼0.00 | 32.57 ▼12.63 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Bubble Critic
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.00 ▲0.47 | 9.91 ▲2.01 | 52.08 ▲0.85 |
Dashboard /wp-admin | 2,973 ▲36 | 5.88 ▼0.09 | 136.33 ▼15.57 | 119.95 ▲1.64 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.69 ▲0.01 | 68.72 ▼3.81 | 96.64 ▼1.17 |
Add New Post /wp-admin/post-new.php | 1,621 ▼62 | 21.35 ▲2.95 | 280.66 ▼113.89 | 133.53 ▲11.79 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.00 | 152.73 ▼26.18 | 127.53 ▼8.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bubble-critic/bubble-critic.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
7 plugin tags: block, issue tracking, forums, cloud, fast...
bubble-critic/bubble-critic.php Passed 13 tests
The primary PHP file in "Bubble Critic" version 1.0.0 is used by WordPress to initiate all plugin functionality
52 characters long description:
Embed a Bubble Critic forum block into your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected45 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 1 | 12 | 35 |
PHP | 1 | 2 | 9 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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 files were detected