Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.58ms] Passed 4 tests
This is a short check of server-side resources used by Screeney
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 40.28 ▲0.72 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.28 ▼2.33 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 47.82 ▼4.65 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 88.34 ▼20.04 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.27 ▲1.72 |
Screeney /wp-admin/tools.php?page=screeney | 3.29 | 34.91 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Screeney
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 13.31 ▼1.25 | 4.15 ▲2.59 | 43.24 ▼1.50 |
Dashboard /wp-admin | 2,216 ▲13 | 5.84 ▼0.05 | 106.84 ▲2.83 | 37.15 ▼7.19 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.08 ▲0.08 | 41.46 ▲1.69 | 35.56 ▲2.59 |
Add New Post /wp-admin/post-new.php | 1,541 ▲9 | 23.19 ▲0.05 | 662.44 ▲5.72 | 36.92 ▼14.01 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.26 ▼0.06 | 104.57 ▲1.78 | 44.48 ▼0.43 |
Screeney /wp-admin/tools.php?page=screeney | 816 | 1.75 | 25.71 | 27.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/screeney/public/partials/screeney-public-display.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/screeney/includes/class-screeney-issue-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/screeney/admin/partials/issues.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/screeney/admin/partials/register.php:19
- > PHP Warning
Use of undefined constant SCREENEY_URI - assumed 'SCREENEY_URI' (this will throw an Error in a future version of PHP) in wp-content/plugins/screeney/admin/partials/project.php on line 19
- > PHP Warning
Use of undefined constant SCREENEY_URI - assumed 'SCREENEY_URI' (this will throw an Error in a future version of PHP) in wp-content/plugins/screeney/admin/partials/settings.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/screeney/admin/partials/modal-issue.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/screeney/admin/partials/settings.php:19
- > PHP Warning
Use of undefined constant SCREENEY_URI - assumed 'SCREENEY_URI' (this will throw an Error in a future version of PHP) in wp-content/plugins/screeney/admin/partials/issues.php on line 19
- > PHP Warning
Use of undefined constant SCREENEY_URI - assumed 'SCREENEY_URI' (this will throw an Error in a future version of PHP) in wp-content/plugins/screeney/admin/partials/team.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/screeney/admin/partials/project.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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: qa, quality assurance, testing
screeney/screeney.php Passed 13 tests
The primary PHP file in "Screeney" version 1.0.0 is used by WordPress to initiate all plugin functionality
65 characters long description:
Connects your website with the Screeney bug tracking application.
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 detected772 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 224 | 672 | 633 |
CSS | 2 | 14 | 8 | 73 |
JavaScript | 2 | 15 | 73 | 50 |
SVG | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 4.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 40 | |
▷ Static methods | 2 | 5.00% |
▷ Public methods | 35 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.50% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin