Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.08ms] Passed 4 tests
This is a short check of server-side resources used by Reactions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.39 ▼1.41 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.37 ▼6.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.93 ▼3.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.98 ▼13.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.36 ▲1.80 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
vicomi_feelbacks_uuid |
can_compress_scripts |
widget_recent-posts |
vicomi_activation_redirect |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Reactions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▼0.07 | 1.89 ▲0.17 | 42.13 ▲0.84 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.24 | 101.14 ▼4.65 | 38.37 ▼5.27 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.03 | 39.28 ▼0.80 | 35.05 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.18 ▼0.10 | 693.62 ▲9.97 | 53.76 ▲1.16 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.17 ▼0.05 | 101.46 ▲2.06 | 44.37 ▼1.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- vicomi_feelbacks_uuid
- db_upgraded
- can_compress_scripts
- vicomi_activation_redirect
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/voting-platform-feelbacks/manager.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/voting-platform-feelbacks/vicomi-feelbacks.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Requires at least: Version not formatted correctly
- Tags: You are using too many tags: 151 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Emotional Engagement), #2 (Emotion Analytics), #3 (Design Options), #4 (Mobile Version), #5 (Content Recommendations), #6 (Facebook Share), #7 (Text Customization)
voting-platform-feelbacks/vicomi-feelbacks.php 92% from 13 tests
The principal PHP file in "Reactions" v. 3.00 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("voting-platform-feelbacks.php" instead of "vicomi-feelbacks.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,020 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 175 | 181 | 1,020 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 54.50 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 7.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 1.22MB with 0.64MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 181.61KB | 77.19KB | ▼ 57.50% |
screenshot-1.png | 113.90KB | 69.35KB | ▼ 39.11% |
screenshot-6.png | 155.21KB | 76.47KB | ▼ 50.73% |
screenshot-5.png | 273.05KB | 105.29KB | ▼ 61.44% |
screenshot-7.png | 151.89KB | 67.47KB | ▼ 55.58% |