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.02MB] [CPU: ▼1.44ms] Passed 4 tests
This is a short check of server-side resources used by Wordpress Livre Blanc
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.13 ▼4.67 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.42 ▼10.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.62 ▲5.35 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.65 ▲3.89 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 47.73 ▲13.99 |
Add new white paper /wp-admin/admin.php?page=livreblanc | 3.32 | 38.10 |
White papers list /wp-admin/admin.php?page=livreblanc-list | 3.28 | 37.86 |
/wp-admin/admin.php?page=livreblanc-participant-list | 3.27 | 31.38 |
Informations /wp-admin/admin.php?page=livreblanc-infos | 3.25 | 30.64 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 34 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_olyos_livreblanc_download |
wp_olyos_livreblanc |
wp_olyos_livreblanc_user |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Wordpress Livre Blanc
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.25 ▼0.99 | 6.05 ▲4.29 | 39.76 ▼10.06 |
Dashboard /wp-admin | 2,245 ▲57 | 4.91 ▼1.14 | 96.19 ▼16.74 | 79.09 ▲30.67 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.01 ▲0.05 | 38.47 ▲2.37 | 33.92 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,697 ▲163 | 22.57 ▼0.46 | 624.58 ▼59.45 | 51.40 ▼9.56 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.27 ▼0.03 | 98.08 ▲2.13 | 72.00 ▲26.84 |
Add new white paper /wp-admin/admin.php?page=livreblanc | 1,820 | 6.57 | 138.58 | 138.63 |
White papers list /wp-admin/admin.php?page=livreblanc-list | 1,009 | 1.80 | 33.73 | 34.46 |
/wp-admin/admin.php?page=livreblanc-participant-list | 1,074 | 1.76 | 26.00 | 24.64 |
Informations /wp-admin/admin.php?page=livreblanc-infos | 1,016 | 1.76 | 26.76 | 41.93 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: livre blanc, plugin
wp-livre-blanc/olyos-livre-blanc.php 85% from 13 tests
The main PHP script in "Wordpress Livre Blanc" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-livre-blanc.php" instead of "olyos-livre-blanc.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,638 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 229 | 75 | 947 |
CSS | 2 | 76 | 17 | 387 |
PO File | 1 | 70 | 77 | 171 |
HTML | 1 | 20 | 34 | 133 |
PHP code Passed 2 tests
A brief analysis 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.22 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 5 | 14.29% |
▷ Public methods | 28 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 20.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
7 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon_small_olyos.png | 61.59KB | 1.03KB | ▼ 98.33% |
img/twitter.png | 0.72KB | 0.53KB | ▼ 26.62% |
img/icon_olybop.png | 1.41KB | 1.17KB | ▼ 17.33% |
img/icon.png | 0.38KB | 0.43KB | 0.00% |
img/logo.png | 3.42KB | 2.14KB | ▼ 37.45% |