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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.50ms] Passed 4 tests
An overview of server-side resources used by SuperBuzz
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.89 ▼0.86 |
Dashboard /wp-admin | 3.32 ▲0.02 | 53.06 ▼0.89 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.35 ▲5.70 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.40 ▼6.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.66 ▲2.01 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_superbuzz |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
superbuzz_version |
widget_recent-posts |
Browser metrics Passed 4 tests
SuperBuzz: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.22 ▼0.50 | 1.92 ▲0.27 | 42.54 ▼3.52 |
Dashboard /wp-admin | 2,213 ▲36 | 5.54 ▼0.12 | 93.39 ▼2.60 | 75.78 ▲33.01 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.04 ▼0.06 | 33.90 ▼5.88 | 34.28 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.25 ▼0.30 | 720.29 ▲40.51 | 51.33 ▼3.66 |
Media Library /wp-admin/upload.php | 1,418 ▲24 | 4.20 ▼0.02 | 98.69 ▼0.18 | 65.59 ▲22.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/superbuzz/uninstall.php
- > /wp-content/plugins/superbuzz/superbuzz.php
- > /wp-content/plugins/superbuzz/includes/class-custom-post-type-superbuzz.php
- > /wp-content/plugins/superbuzz/includes/autoloading.php
- > /wp-content/plugins/superbuzz/includes/class-custom-css-and-js.php
- > /wp-content/plugins/superbuzz/includes/class-init.php
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)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
superbuzz/superbuzz.php Passed 13 tests
The principal PHP file in "SuperBuzz" v. 1.2.0 is loaded by WordPress automatically on each request
71 characters long description:
SuperBuzz - Boost retention traffic and profits using GPT-3 technology.
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 plugin572 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 81 | 30 | 332 |
CSS | 1 | 37 | 6 | 179 |
JavaScript | 2 | 6 | 2 | 61 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/superbuzzicon.png | 1.98KB | 1.17KB | ▼ 40.94% |
assets/images/superbuzzlogo.png | 9.81KB | 5.55KB | ▼ 43.46% |