Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲5.32MB] [CPU: ▲33.89ms] 75% from 4 tests
An overview of server-side resources used by Simple Feature Requests Free - User Feedback Board
Please take the time to fix the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.32MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.01 ▲5.54 | 75.12 ▲29.87 |
Dashboard /wp-admin | 9.03 ▲5.68 | 79.43 ▲18.46 |
Posts /wp-admin/edit.php | 9.03 ▲5.67 | 88.40 ▲41.87 |
Add New Post /wp-admin/post-new.php | 10.27 ▲4.38 | 137.24 ▲53.28 |
Media Library /wp-admin/upload.php | 9.03 ▲5.80 | 80.33 ▲45.36 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.03 | 65.39 |
Server storage [IO: ▲3.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 240 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
fs_active_plugins |
fs_debug_mode |
theysaidso_admin_options |
fs_accounts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Feature Requests Free - User Feedback Board
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲239 | 13.44 ▼0.91 | 9.68 ▲7.43 | 27.27 ▼18.23 |
Dashboard /wp-admin | 2,267 ▲97 | 5.69 ▲0.03 | 90.57 ▼19.38 | 42.27 ▼1.85 |
Posts /wp-admin/edit.php | 2,151 ▲51 | 2.02 ▲0.06 | 41.62 ▲4.63 | 39.17 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 22.28 ▼0.79 | 683.32 ▼65.08 | 61.07 ▲7.84 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.21 ▲0.02 | 102.08 ▼5.60 | 44.13 ▼3.36 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,112 | 1.66 | 27.92 | 31.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/simple-feature-requests/inc/vendor/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- fs_debug_mode
- widget_recent-comments
- fs_accounts
- can_compress_scripts
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-feature-requests/templates/photoswipe.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-feature-requests/inc/admin/settings.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: idea management, user feedback, customer feedback, feature request, roadmap
simple-feature-requests/simple-feature-requests.php Passed 13 tests
The primary PHP file in "Simple Feature Requests Free - User Feedback Board" version 2.2.6.1 is used by WordPress to initiate all plugin functionality
140 characters long description:
Collect and manage user feedback using your existing WordPress website. Prioritize the product features important to you and your customers.
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin41,735 lines of code in 192 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 156 | 8,986 | 19,256 | 38,313 |
JavaScript | 12 | 413 | 459 | 1,852 |
CSS | 22 | 301 | 239 | 1,559 |
JSON | 1 | 0 | 0 | 10 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 67.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 74 | |
▷ Abstract classes | 2 | 2.70% |
▷ Concrete classes | 72 | 97.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,542 | |
▷ Static methods | 378 | 24.51% |
▷ Public methods | 1,130 | 73.28% |
▷ Protected methods | 17 | 1.10% |
▷ Private methods | 395 | 25.62% |
Functions | 119 | |
▷ Named functions | 118 | 99.16% |
▷ Anonymous functions | 1 | 0.84% |
Constants | 158 | |
▷ Global constants | 111 | 70.25% |
▷ Class constants | 47 | 29.75% |
▷ Public constants | 47 | 100.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
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/vendor/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/img/plugin-icon.png | 7.44KB | 3.35KB | ▼ 55.01% |
assets/img/attachment-icon.png | 0.49KB | 0.40KB | ▼ 16.70% |
inc/vendor/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/vendor/photoswipe/default-skin/default-skin.png | 0.53KB | 0.72KB | 0.00% |