Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼3.86ms] Passed 4 tests
Analyzing server-side resources used by Feedback Company
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.10 ▼5.01 |
Dashboard /wp-admin | 3.48 ▲0.18 | 45.72 ▼3.25 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 48.03 ▼2.21 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 93.34 ▼4.95 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 40.12 ▲7.05 |
Feedback Company /wp-admin/options-general.php?page=feedbackcompany | 3.48 | 52.97 |
Server storage [IO: ▲2.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 22 new options
New WordPress options |
---|
feedbackcompany_invitation_delay |
feedbackcompany_productreviewsextendedwidget_toggle_element |
feedbackcompany_invitation_reminder_unit |
widget_recent-comments |
db_upgraded |
feedbackcompany_invitation_orderstatus |
widget_feedbackcompany_main |
feedbackcompany_invitation_reminder_enabled |
feedbackcompany_invitation_reminder |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Feedback Company
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.34 ▼1.41 | 1.86 ▲0.12 | 41.19 ▼2.49 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.01 | 106.94 ▼8.95 | 43.98 ▼2.54 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 39.17 ▲4.58 | 34.88 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,550 ▲16 | 18.27 ▼4.97 | 607.14 ▼67.97 | 69.24 ▲16.05 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.23 ▼0.01 | 106.10 ▲3.13 | 42.64 ▼2.86 |
Feedback Company /wp-admin/options-general.php?page=feedbackcompany | 1,018 | 1.97 | 30.63 | 33.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- widget_feedbackcompany_bar
- theysaidso_admin_options
- db_upgraded
- widget_feedbackcompany_main
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: shopping, woocommerce, customers, rich snippets, reviews...
the-feedback-company/the-feedback-company.php Passed 13 tests
"Feedback Company" version 3.3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
101 characters long description:
Integrates Feedback Company widgets, order registrations and product reviews in Wordpress/WooCommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,578 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 323 | 614 | 1,334 |
JavaScript | 1 | 24 | 19 | 134 |
CSS | 1 | 6 | 0 | 109 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 28.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 19 | 20.21% |
▷ Public methods | 94 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 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
8 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/widgets-preview/en_US/main-big-2.png | 22.47KB | 7.38KB | ▼ 67.18% |
images/widgets-preview/en_US/main-small-0.png | 7.60KB | 3.37KB | ▼ 55.68% |
images/widgets-preview/en_US/main-small-2.png | 18.83KB | 6.72KB | ▼ 64.33% |
images/widgets-preview/en_US/main-big-1.png | 17.30KB | 6.49KB | ▼ 62.50% |
images/widgets-preview/en_US/main-small-1.png | 13.23KB | 5.22KB | ▼ 60.57% |