Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼11.72ms] Passed 4 tests
An overview of server-side resources used by Student Feedback
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.01 | 38.72 ▼7.80 |
Dashboard /wp-admin | 3.44 ▲0.13 | 43.40 ▼13.61 |
Posts /wp-admin/edit.php | 3.49 ▼0.36 | 48.01 ▼9.38 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 92.54 ▼16.09 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 32.22 ▼0.68 |
All StudentSays /wp-admin/edit.php?post_type=jr_student_feedback | 3.40 | 33.82 |
Add New /wp-admin/post-new.php?post_type=jr_student_feedback | 3.81 | 56.40 |
Server storage [IO: ▲3.16MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 373 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Student Feedback: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲181 | 13.58 ▼1.13 | 8.89 ▲7.12 | 43.27 ▼8.75 |
Dashboard /wp-admin | 2,233 ▲56 | 5.69 ▲0.16 | 92.02 ▼7.17 | 41.34 ▼5.86 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.04 ▲0.04 | 40.27 ▲4.72 | 34.81 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,556 ▲20 | 23.06 ▲4.82 | 653.29 ▼15.26 | 56.63 ▼11.81 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.35 ▲0.14 | 97.18 ▼9.25 | 43.34 ▼1.00 |
All StudentSays /wp-admin/edit.php?post_type=jr_student_feedback | 1,111 | 1.98 | 33.81 | 31.36 |
Add New /wp-admin/post-new.php?post_type=jr_student_feedback | 2,255 | 7.24 | 162.90 | 84.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/studentsays-make-comment-or-feedback/init.php
- 40× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/example-functions.php:105
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/studentsays-make-comment-or-feedback/metabox/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: education organization review, students comments, studentsays, students feedback
studentsays-make-comment-or-feedback/init.php 62% from 13 tests
The principal PHP file in "Student Feedback" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 245 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("studentsays-make-comment-or-feedback.php" instead of "init.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "5.2")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
There were no executable files found in this plugin54,745 lines of code in 225 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 58 | 2,199 | 6,358 | 7,425 |
JSON | 4 | 0 | 0 | 6,633 |
CSS | 14 | 274 | 1,192 | 4,716 |
JavaScript | 9 | 362 | 590 | 1,480 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 3 | 245 | 0 | 757 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 9 | 13.04% |
▷ Concrete classes | 60 | 86.96% |
▷ Final classes | 0 | 0.00% |
Methods | 547 | |
▷ Static methods | 91 | 16.64% |
▷ Public methods | 455 | 83.18% |
▷ Protected methods | 89 | 16.27% |
▷ Private methods | 3 | 0.55% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
metabox/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
metabox/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
metabox/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
metabox/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
metabox/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |