Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.50ms] Passed 4 tests
This is a short check of server-side resources used by BookEtBord
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.88 ▼1.35 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.14 ▲0.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.94 ▼3.42 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.50 ▼13.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 39.86 ▼7.73 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BookEtBord
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲116 | 13.34 ▼1.03 | 2.21 ▲0.09 | 44.13 ▼1.69 |
Dashboard /wp-admin | 2,218 ▲27 | 5.86 ▲0.99 | 101.47 ▼0.80 | 82.24 ▲39.35 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 1.98 ▼0.19 | 37.21 ▼4.13 | 33.22 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.08 ▲0.03 | 694.67 ▲30.26 | 50.05 ▼14.69 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.25 ▲0.07 | 98.86 ▼0.36 | 83.02 ▲40.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/booketbord/booketobrd.php
- > /wp-content/plugins/booketbord/settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== booketbord ===
)
booketbord/booketobrd.php 92% from 13 tests
The principal PHP file in "BookEtBord" v. 1.6.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("booketbord.php" instead of "booketobrd.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin228 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 6 | 8 | 119 |
JavaScript | 1 | 1 | 2 | 60 |
CSS | 1 | 1 | 0 | 49 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.47MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 68.12KB | 27.41KB | ▼ 59.76% |
assets/close.png | 1.49KB | 1.59KB | 0.00% |
assets/icon.png | 0.17KB | 0.15KB | ▼ 13.64% |
assets/screenshot-1.png | 141.55KB | 62.73KB | ▼ 55.69% |
assets/screenshot-2.png | 274.40KB | 109.54KB | ▼ 60.08% |