Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.72MB] [CPU: ▲1.08ms] Passed 4 tests
This is a short check of server-side resources used by 5 Stars Rating Funnel WordPress Plugin | RRatingg
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 46.87 ▲7.28 |
Dashboard /wp-admin | 4.03 ▲0.72 | 55.90 ▲4.84 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 54.81 ▲2.43 |
Add New Post /wp-admin/post-new.php | 6.64 ▲0.75 | 120.97 ▼6.71 |
Media Library /wp-admin/upload.php | 3.95 ▲0.72 | 42.78 ▲3.75 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.14 | 38.64 |
Server storage [IO: ▲4.11MB] [DB: ▲0.08MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 293 new files
Database: 2 new tables, 17 new options
New tables |
---|
wp_rratingg_leads |
wp_rratingg_feedbacks |
New WordPress options |
---|
fs_debug_mode |
rrtngg_1_2_2_upgrade |
fs_active_plugins |
can_compress_scripts |
fs_accounts |
db_upgraded |
theysaidso_admin_options |
rrtngg_1_2_13_upgrade |
widget_theysaidso_widget |
rrtngg_flush_rewrite_rules |
... |
Browser metrics Passed 4 tests
5 Stars Rating Funnel WordPress Plugin | RRatingg: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲104 | 14.38 ▼0.02 | 1.92 ▲0.12 | 32.20 ▼14.13 |
Dashboard /wp-admin | 2,246 ▲72 | 5.54 ▼0.13 | 95.29 ▼20.55 | 47.65 ▼8.92 |
Posts /wp-admin/edit.php | 2,152 ▲49 | 2.11 ▲0.11 | 36.31 ▼3.48 | 38.74 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.21 ▲0.11 | 676.86 ▲18.13 | 51.55 ▼5.57 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.22 ▼0.03 | 98.51 ▼11.02 | 46.09 ▼3.36 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,100 | 1.69 | 25.34 | 34.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/5-stars-rating-funnel/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_rratingg_leads
- wp_rratingg_feedbacks
- The uninstall procedure has failed, leaving 17 options in the database
- rrtngg_version
- fs_debug_mode
- rrtngg_flush_rewrite_rules
- widget_theysaidso_widget
- can_compress_scripts
- rrtngg_db_version
- rrtngg_1_2_2_upgrade
- rrtngg_1_2_13_upgrade
- theysaidso_admin_options
- fs_accounts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/5-stars-rating-funnel/templates/admin/partials/settings-tab.php
- > /wp-content/plugins/5-stars-rating-funnel/templates/funnel/partials/footer_content.php
- 54× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/5-stars-rating-funnel/includes/RRTNGG_Rest.php:4
- > PHP Fatal error
Uncaught Error: Class 'Abstract_RRTNGG_BG' not found in wp-content/plugins/5-stars-rating-funnel/includes/background/RRTNGG_BG_Import_Request.php:4
- > PHP Fatal error
require(): Failed opening required 'RRTNGG_ABS_PATHtemplates/admin/metaboxes/funnel/fields_generated.php' (include_path='.:/usr/share/php') in wp-content/plugins/5-stars-rating-funnel/templates/admin/metaboxes/funnel/negative_answer.php on line 16
- > PHP Warning
Use of undefined constant RRTNGG_ABS_PATH - assumed 'RRTNGG_ABS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/5-stars-rating-funnel/templates/admin/metaboxes/funnel/footer_settings.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'Abstract_RRTNGG_BG' not found in wp-content/plugins/5-stars-rating-funnel/includes/background/RRTNGG_BG_Email_Request.php:4
- > PHP Fatal error
require(): Failed opening required 'RRTNGG_ABS_PATHtemplates/admin/metaboxes/funnel/fields_generated.php' (include_path='.:/usr/share/php') in wp-content/plugins/5-stars-rating-funnel/templates/admin/metaboxes/funnel/positive_answer.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'RRTNGG_Leads_Model' not found in wp-content/plugins/5-stars-rating-funnel/templates/funnel/index.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/5-stars-rating-funnel/templates/funnel/partials/preview_notice.php:18
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/5-stars-rating-funnel/templates/funnel/partials/services.php on line 20
- > PHP Warning
Use of undefined constant RRTNGG_ABS_PATH - assumed 'RRTNGG_ABS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/5-stars-rating-funnel/templates/admin/metaboxes/funnel/negative_answer.php on line 16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
5-stars-rating-funnel/5-stars-rating-funnel.php 92% from 13 tests
The entry point to "5 Stars Rating Funnel WordPress Plugin | RRatingg" version 1.2.63 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin47,693 lines of code in 229 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 195 | 9,242 | 18,091 | 39,512 |
CSS | 21 | 602 | 75 | 5,316 |
JavaScript | 5 | 228 | 163 | 1,211 |
PO File | 1 | 329 | 424 | 852 |
Markdown | 2 | 128 | 0 | 326 |
HTML | 1 | 9 | 1 | 275 |
JSON | 2 | 0 | 0 | 151 |
SVG | 1 | 19 | 0 | 31 |
XML | 1 | 0 | 0 | 19 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 70.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 5 | 7.04% |
▷ Concrete classes | 66 | 92.96% |
▷ Final classes | 0 | 0.00% |
Methods | 1,470 | |
▷ Static methods | 340 | 23.13% |
▷ Public methods | 1,043 | 70.95% |
▷ Protected methods | 50 | 3.40% |
▷ Private methods | 377 | 25.65% |
Functions | 118 | |
▷ Named functions | 118 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 153 | |
▷ Global constants | 106 | 69.28% |
▷ Class constants | 47 | 30.72% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 24.00KB | 6.56KB | ▼ 72.69% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |