Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.27MB] [CPU: ▲27.69ms] Passed 4 tests
A check of server-side resources used by Peer Feedback
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.44 | 72.12 ▲30.79 |
Dashboard /wp-admin | 3.65 ▲0.27 | 84.64 ▲21.18 |
Posts /wp-admin/edit.php | 3.70 ▲0.31 | 81.53 ▲29.91 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.26 | 134.32 ▲28.88 |
Media Library /wp-admin/upload.php | 3.51 ▲0.24 | 72.94 ▲33.20 |
All Projects /wp-admin/edit.php?post_type=peer_projects | 3.56 | 65.18 |
/wp-admin/admin.php?page=as-pfeedack-student-feedback | 3.47 | 60.37 |
Help /wp-admin/edit.php?post_type=peer_projects&page=as-pfeedack-help | 3.48 | 64.51 |
/wp-admin/admin.php?page=as-pfeedack-project-criteria | 3.50 | 58.58 |
/wp-admin/admin.php?page=as-pfeedack-project-groups | 3.57 | 60.46 |
Add New Project /wp-admin/post-new.php?post_type=peer_projects | 3.70 | 75.91 |
Server storage [IO: ▲0.10MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 24 new files
Database: 6 new tables, 7 new options
New tables |
---|
wp_as_peer_feedback_response_options |
wp_as_peer_feedback |
wp_as_peer_feedback_criteria |
wp_as_peer_feedback_users |
wp_as_peer_feedback_groups |
wp_as_peer_feedback_criteria_descriptors |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
as_peer_feedback_ops |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Peer Feedback
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲206 | 14.11 ▼0.24 | 5.73 ▲3.68 | 42.41 ▲2.67 |
Dashboard /wp-admin | 2,249 ▲69 | 6.06 ▲0.44 | 95.18 ▲12.06 | 42.41 ▼0.90 |
Posts /wp-admin/edit.php | 2,175 ▲75 | 2.52 ▲0.50 | 43.81 ▲7.90 | 35.69 ▼3.90 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 22.07 ▼0.91 | 673.23 ▲15.24 | 62.64 ▲8.71 |
Media Library /wp-admin/upload.php | 1,465 ▲68 | 4.60 ▲0.40 | 109.90 ▲4.27 | 45.72 ▼1.80 |
All Projects /wp-admin/edit.php?post_type=peer_projects | 1,174 | 2.38 | 36.57 | 28.60 |
/wp-admin/admin.php?page=as-pfeedack-student-feedback | 705 | 1.12 | 6.54 | 17.29 |
Help /wp-admin/edit.php?post_type=peer_projects&page=as-pfeedack-help | 930 | 2.13 | 27.84 | 28.75 |
/wp-admin/admin.php?page=as-pfeedack-project-criteria | 705 | 1.51 | 6.28 | 11.98 |
/wp-admin/admin.php?page=as-pfeedack-project-groups | 705 | 1.51 | 6.88 | 18.30 |
Add New Project /wp-admin/post-new.php?post_type=peer_projects | 2,341 | 7.98 | 172.04 | 67.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 6 tables
- wp_as_peer_feedback
- wp_as_peer_feedback_criteria
- wp_as_peer_feedback_criteria_descriptors
- wp_as_peer_feedback_response_options
- wp_as_peer_feedback_groups
- wp_as_peer_feedback_users
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- as_peer_feedback_ops
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=as-pfeedack-student-feedback
- > Notice in wp-content/plugins/peer-feedback/admin/student_feedback.php+9
Undefined index: projectID
- > GET request to /wp-admin/admin.php?page=as-pfeedack-student-feedback
- > Notice in wp-content/plugins/peer-feedback/admin/student_feedback.php+10
Undefined index: userID
SRP 0% 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/peer-feedback/admin/help.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'peerFeedback_utils' not found in wp-content/plugins/peer-feedback/admin/criteria.php:4
- > PHP Fatal error
Uncaught Error: Class 'peerFeedback_utils' not found in wp-content/plugins/peer-feedback/admin/groups.php:4
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: peer, feedback, academic
peer-feedback/peer-feedback.php Passed 13 tests
"Peer Feedback" version 0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
Create project groups and allow students to give feedback on peer performance
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected2,639 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 1,007 | 324 | 2,262 |
JavaScript | 3 | 116 | 28 | 203 |
CSS | 3 | 60 | 9 | 174 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 19.12 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 25 | 39.68% |
▷ Public methods | 63 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin