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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.17ms] Passed 4 tests
An overview of server-side resources used by Thuisbezorgd Beoordelingen
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.10 ▼8.39 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.28 ▼0.13 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 50.13 ▼0.51 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.37 ▼3.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.79 ▲3.20 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Thuisbezorgd Beoordelingen
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.29 ▼0.34 | 1.58 ▲0.05 | 41.28 ▼1.13 |
Dashboard /wp-admin | 2,208 ▲31 | 5.62 ▼0.06 | 89.49 ▲2.97 | 41.00 ▲3.72 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.02 ▲0.00 | 39.48 ▲3.65 | 36.58 ▲5.20 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.07 ▼0.25 | 683.13 ▼16.07 | 58.68 ▲1.74 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.17 ▼0.12 | 92.61 ▼1.16 | 44.12 ▼1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- 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
Even though no errors were found, this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: thuisbezorgd, takeaway, reviews, restaurant, beoordelingen
thuisbezorgd-beoordelingen/thuisbezorgd-beoordelingen.php Passed 13 tests
"Thuisbezorgd Beoordelingen" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
82 characters long description:
Laat de Thuisbezorgd beoordelingen van uw restaurant zien op uw Wordpress website.
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 plugin1,685 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 271 | 312 | 1,584 |
CSS | 3 | 20 | 15 | 101 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 110.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 1 | 1.16% |
▷ Public methods | 70 | 81.40% |
▷ Protected methods | 16 | 18.60% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
4 PNG files occupy 0.29MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/thuisbezorgd_header.png | 146.08KB | 72.11KB | ▼ 50.64% |
img/star-rating-sprite.png | 0.94KB | 0.77KB | ▼ 17.86% |
img/donate.png | 68.86KB | 20.25KB | ▼ 70.58% |
img/plugin_logo.png | 82.99KB | 38.08KB | ▼ 54.11% |