Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.12ms] Passed 4 tests
This is a short check of server-side resources used by Buyte
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.74 ▼3.88 |
Dashboard /wp-admin | 3.43 ▲0.13 | 43.45 ▼8.70 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 45.61 ▲1.03 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 103.07 ▲6.58 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.98 ▲3.08 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Buyte
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.19 ▼1.22 | 1.74 ▼0.11 | 42.92 ▼2.24 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.03 | 99.73 ▼4.22 | 39.96 ▼2.98 |
Posts /wp-admin/edit.php | 2,089 ▲21 | 2.04 ▲0.02 | 36.09 ▲0.06 | 33.61 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.06 ▼0.09 | 640.32 ▼56.07 | 60.25 ▲10.85 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.19 ▼0.03 | 93.94 ▼8.16 | 41.79 ▼2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6, #7, #8 in buyte/assets to your readme.txt
buyte/buyte.php 92% from 13 tests
The main file in "Buyte" v. 0.2.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 179 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
Everything looks great! No dangerous files found in this plugin1,496 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 212 | 309 | 1,221 |
JavaScript | 3 | 19 | 22 | 244 |
JSON | 2 | 0 | 0 | 23 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 27.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 17 | 22.08% |
▷ Public methods | 64 | 83.12% |
▷ Protected methods | 6 | 7.79% |
▷ Private methods | 7 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 33 | |
▷ Global constants | 2 | 6.06% |
▷ Class constants | 31 | 93.94% |
▷ Public constants | 31 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 compressed PNG files occupy 0.46MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-7.png | 54.02KB | 53.55KB | ▼ 0.87% |
assets/screenshot-2.png | 108.42KB | 109.07KB | 0.00% |
assets/screenshot-1.png | 41.82KB | 42.07KB | 0.00% |
assets/screenshot-5.png | 50.99KB | 50.91KB | 0.17% |
assets/screenshot-4.png | 60.52KB | 60.87KB | 0.00% |