Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/dispito/dispito.php+127
Undefined variable: db_ok
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.50ms] Passed 4 tests
Server-side resources used by Dispito - discussions and comments
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.62 ▼2.46 |
Dashboard /wp-admin | 3.32 ▲0.02 | 53.62 ▲2.71 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.73 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.48 ▼11.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.93 ▼4.41 |
Dispito /wp-admin/edit-comments.php?page=dispito | 3.26 | 249.21 |
All Comments /wp-admin/edit-comments.php | 3.31 | 39.91 |
Server storage [IO: ▲0.34MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_dispito_info |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dispito - discussions and comments
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲77 | 13.68 ▼0.97 | 5.46 ▲3.44 | 43.07 ▲3.25 |
Dashboard /wp-admin | 2,223 ▲35 | 4.89 ▼0.19 | 103.85 ▲2.71 | 37.38 ▼4.30 |
Posts /wp-admin/edit.php | 2,103 ▲17 | 1.97 ▼0.04 | 37.52 ▲2.67 | 30.80 ▼4.95 |
Add New Post /wp-admin/post-new.php | 1,535 ▲1 | 23.18 ▼0.24 | 695.58 ▲18.39 | 57.57 ▲5.54 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.31 ▲0.12 | 110.18 ▲10.90 | 46.56 ▲2.14 |
Dispito /wp-admin/edit-comments.php?page=dispito | 786 | 2.22 | 22.86 | 21.47 |
All Comments /wp-admin/edit-comments.php | 1,812 | 2.30 | 36.15 | 34.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/dispito/comments.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/dispito/dispito.php:143
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Public and private discussions and forums - Individual discussions going to lock or completely revenge. You can also set the who in the discussions has access), #2 (Web administration - Complete management of the discussions and forums is through the web interface), #3 (Traffic to Your domain - Discussion forums can run on Your domain eg discussion.YourSite.com), #4 (Skins: change the design of the - Design services to match your site), #5 (Mobile version - Automatically the content of the match in the display on your mobile phone or tablet), #6 (Spam protection - All of the discussion and the forums are protected against komentářovému spam and automatickýcm robots), #7 (Setting up your own forums and their management - The user has the possibility to establish their own forums, which itself administruje (blocking users, adding the administrators of the forum, the set of authorized users).), #8 (Vote on other comments -Each logged in user has the opportunity to vote on the comments of other users.), #9 (Inserting comments as an anonymous user - The user is allowed to insert a comment under the anonymous user, even in the event that the user is logged in.), #10 (Editing comments by the author - The author of the comments is allowed its editing.), #11 (Popular discussions - The user can mark the discussion for their favorite. In the case of the favorites of the discussions, the user is notified of new comments.)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
dispito/dispito.php Passed 13 tests
The principal PHP file in "Dispito - discussions and comments" v. 1.0.1 is loaded by WordPress automatically on each request
100 characters long description:
The Dispito replaces your WordPress comment system with your comments hosted and powered by Dispito.
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
No dangerous file extensions were detected112 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 29 | 22 | 112 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
11 PNG files occupy 0.34MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 45.62KB | 16.97KB | ▼ 62.81% |
screenshot-2.png | 41.26KB | 13.84KB | ▼ 66.46% |
screenshot-6.png | 19.48KB | 7.21KB | ▼ 63.00% |
screenshot-11.png | 38.12KB | 14.04KB | ▼ 63.16% |
screenshot-10.png | 23.59KB | 8.77KB | ▼ 62.83% |