Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.88ms] Passed 4 tests
This is a short check of server-side resources used by Gwolle Guestbook
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.69 ▲1.51 |
Dashboard /wp-admin | 3.48 ▲0.14 | 51.68 ▼6.40 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 45.00 ▼5.38 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 92.16 ▼9.26 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 35.65 ▲3.75 |
Import /wp-admin/admin.php?page=gwolle-gb/import.php | 3.40 | 36.98 |
Settings /wp-admin/admin.php?page=gwolle-gb/settings.php | 4.00 | 47.51 |
Export /wp-admin/admin.php?page=gwolle-gb/export.php | 3.37 | 32.47 |
Server storage [IO: ▲0.81MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 199 new files
Database: 2 new tables, 37 new options
New tables |
---|
wp_gwolle_gb_log |
wp_gwolle_gb_entries |
New WordPress options |
---|
gwolle_gb_version |
gwolle_gb-showLineBreaks |
gwolle_gb-mail_author_moderation |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
gwolle_gb-moderate-entries |
can_compress_scripts |
gwolle_gb-labels_float |
gwolle_gb-nonce |
... |
Browser metrics Passed 4 tests
Gwolle Guestbook: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,005 ▲259 | 13.81 ▼0.57 | 5.62 ▲3.99 | 42.76 ▲2.09 |
Dashboard /wp-admin | 2,310 ▲122 | 5.10 ▼0.75 | 102.99 ▼1.69 | 39.94 ▲1.09 |
Posts /wp-admin/edit.php | 2,153 ▲64 | 2.03 ▲0.03 | 36.34 ▼4.31 | 33.32 ▼3.51 |
Add New Post /wp-admin/post-new.php | 1,571 ▲57 | 23.21 ▲5.72 | 606.44 ▼94.84 | 50.75 ▼10.97 |
Media Library /wp-admin/upload.php | 1,455 ▲64 | 4.29 ▲0.10 | 96.85 ▼7.09 | 41.66 ▼4.33 |
Import /wp-admin/admin.php?page=gwolle-gb/import.php | 1,106 | 2.31 | 26.38 | 29.94 |
Settings /wp-admin/admin.php?page=gwolle-gb/settings.php | 2,656 | 2.23 | 26.48 | 29.76 |
Export /wp-admin/admin.php?page=gwolle-gb/export.php | 908 | 2.32 | 26.92 | 28.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_gwolle_gb_log
- wp_gwolle_gb_entries
- This plugin does not fully uninstall, leaving 37 options in the database
- gwolle_gb-longtext
- gwolle_gb-timeout
- gwolle_gb-mail_author
- gwolle_gb-entries_per_page
- gwolle_gb-form
- gwolle_gb-require_login
- gwolle_gb-read
- gwolle_gb-admin_style
- gwolle_gb-navigation
- gwolle_gb-akismet-active
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
The following issues need your attention
- 57× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/gwolle-gb/admin/gwolle-gb-hooks.php
- > /wp-content/plugins/gwolle-gb/frontend/gb-form-posthandling.php
- > /wp-content/plugins/gwolle-gb/frontend/gb-pagination.php
- > /wp-content/plugins/gwolle-gb/functions/gb-mail.php
- > /wp-content/plugins/gwolle-gb/functions/gb-single-view.php
- > /wp-content/plugins/gwolle-gb/functions/gb-dependencies.php
- > /wp-content/plugins/gwolle-gb/admin/gb-upgrade.php
- > /wp-content/plugins/gwolle-gb/admin/tabs/gb-emailtab.php
- > /wp-content/plugins/gwolle-gb/admin/tabs/gb-uninstalltab.php
- > /wp-content/plugins/gwolle-gb/functions/gb-capabilities.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/gwolle-gb/gwolle-gb.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gwolle-gb/frontend/gb-blocklist.php:90
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: review, gstebuch, livre dor, guestbook, guest book
gwolle-gb/gwolle-gb.php 92% from 13 tests
The main PHP script in "Gwolle Guestbook" version 4.6.1 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 265 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
There were no executable files found in this plugin13,047 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 59 | 2,166 | 2,378 | 11,040 |
JavaScript | 4 | 238 | 237 | 1,135 |
CSS | 3 | 131 | 96 | 872 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 176 | |
▷ Named functions | 176 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/entry-spam.png | 0.94KB | 0.93KB | ▼ 1.45% |
frontend/markitup/images/list-bullet.png | 0.24KB | 0.14KB | ▼ 43.72% |
frontend/markitup/images/handle.png | 0.25KB | 0.13KB | ▼ 48.45% |
frontend/markitup/images/list-numeric.png | 0.43KB | 0.37KB | ▼ 15.38% |
frontend/markitup/images/clean.png | 0.62KB | 0.54KB | ▼ 12.46% |