Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.30ms] Passed 4 tests
An overview of server-side resources used by Collect Feedback via Stria
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.25 ▲0.14 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.87 ▼8.83 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 41.76 ▼1.98 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.73 ▲2.93 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.50 ▼2.51 |
Collect Feedback via Stria /wp-admin/options-general.php?page=collect-feedback-via-stria | 3.22 | 30.23 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Collect Feedback via Stria
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.27 ▼0.00 | 1.49 ▼0.40 | 38.08 ▼4.47 |
Dashboard /wp-admin | 2,196 ▲16 | 5.51 ▼0.13 | 84.88 ▼12.26 | 40.23 ▼2.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.07 | 36.81 ▲2.25 | 36.43 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 23.13 ▲4.99 | 643.70 ▲45.34 | 50.15 ▼19.13 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.22 ▲0.03 | 95.25 ▼5.99 | 43.07 ▼0.23 |
Collect Feedback via Stria /wp-admin/options-general.php?page=collect-feedback-via-stria | 813 | 1.99 | 24.05 | 27.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/collect-feedback-via-stria/collectfeedback-stria.php:22
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/collect-feedback-via-stria/views/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2 in collect-feedback-via-stria/assets to your readme.txt
collect-feedback-via-stria/collectfeedback-stria.php 85% from 13 tests
The main file in "Collect Feedback via Stria" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("collect-feedback-via-stria.php" instead of "collectfeedback-stria.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin110 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 44 | 110 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected