Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲2.00MB] [CPU: ▲723.21ms] 50% from 4 tests
A check of server-side resources used by Visual Website Collaboration, Feedback & Project Management - Atarim
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 810.74ms on /wp-admin/admin.php?page=wpfeedback_page_settings)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 723.21ms on /wp-admin/admin.php?page=wpfeedback_page_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.41 ▲1.94 | 56.25 ▲14.64 |
Dashboard /wp-admin | 5.41 ▲2.10 | 880.37 ▲829.22 |
Posts /wp-admin/edit.php | 5.42 ▲2.05 | 1,806.68 ▲1,762.62 |
Add New Post /wp-admin/post-new.php | 7.89 ▲2.00 | 1,251.54 ▲1,159.10 |
Media Library /wp-admin/upload.php | 5.23 ▲2.00 | 924.86 ▲889.87 |
Tasks Center /wp-admin/admin.php?page=wpfeedback_page_tasks | 5.49 | 382.49 |
Permissions /wp-admin/admin.php?page=wpfeedback_page_permissions | 5.32 | 828.34 |
Settings /wp-admin/admin.php?page=wpfeedback_page_settings | 5.31 | 810.74 |
Server storage [IO: ▲14.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 212 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wp_rocket_settings |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Visual Website Collaboration, Feedback & Project Management - Atarim
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,163 ▲401 | 17.08 ▲2.68 | 8.88 ▲7.24 | 44.10 ▼2.37 |
Dashboard /wp-admin | 2,437 ▲257 | 7.74 ▲2.12 | 146.48 ▲54.10 | 120.74 ▲83.55 |
Posts /wp-admin/edit.php | 2,374 ▲274 | 4.53 ▲2.55 | 59.06 ▲24.32 | 93.40 ▲62.93 |
Add New Post /wp-admin/post-new.php | 1,504 ▼22 | 18.80 ▼4.39 | 586.54 ▼17.72 | 119.95 ▲71.61 |
Media Library /wp-admin/upload.php | 1,511 ▲108 | 5.80 ▲1.60 | 105.38 ▲8.71 | 104.38 ▲63.17 |
Tasks Center /wp-admin/admin.php?page=wpfeedback_page_tasks | 2,190 | 4.84 | 63.87 | 75.81 |
Permissions /wp-admin/admin.php?page=wpfeedback_page_permissions | 1,814 | 4.86 | 67.94 | 99.37 |
Settings /wp-admin/admin.php?page=wpfeedback_page_settings | 1,322 | 4.38 | 59.58 | 104.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- wp_rocket_settings
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpfeedback_page_tasks
- > Notice in wp-content/plugins/atarim-visual-collaboration/inc/wpf_function.php+1988
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/atarim-visual-collaboration/imagehelper.php
- 50× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/atarim-visual-collaboration/inc/wpf_function.php:46
- > PHP Warning
Class 'Google\\Exception' not found in wp-content/plugins/atarim-visual-collaboration/src/aliases.php on line 33
- > PHP Notice
Trying to get property 'user_email' of non-object in wp-content/plugins/atarim-visual-collaboration/inc/admin/page-settings-permissions.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atarim-visual-collaboration/inc/wpf_api.php:175
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/atarim-visual-collaboration/inc/admin/wpf_backend_initial_setup.php:8
- > PHP Notice
Trying to get property 'user_email' of non-object in wp-content/plugins/atarim-visual-collaboration/inc/admin/page-settings.php on line 10
- > PHP Warning
Class 'Google\\Service' not found in wp-content/plugins/atarim-visual-collaboration/src/aliases.php on line 33
- > PHP Fatal error
Uncaught Error: Class 'Google\\Exception' not found in wp-content/plugins/atarim-visual-collaboration/src/Task/Exception.php:22
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/atarim-visual-collaboration/src/Collection.php:10
- > PHP Warning
Class 'Google\\Service\\Resource' not found in wp-content/plugins/atarim-visual-collaboration/src/aliases.php on line 33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wpfeedback_page_settings
- > Javascript (severe) in unknown
/wp-content/plugins/atarim-visual-collaboration/js/pickr.min.js 1:14438 Uncaught TypeError: Cannot read properties of null (reading 'parentNode')
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
Attributes that need to be fixed:
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
atarim-visual-collaboration/atarim-visual-collaboration.php 85% from 13 tests
The main PHP script in "Visual Website Collaboration, Feedback & Project Management - Atarim" version 3.13 is automatically included on every request by WordPress
You should first fix the following items:
- Git Repository: There should be no Git repositories present in your plugin
- Description: Please keep the plugin description shorter than 140 characters (currently 228 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected115,731 lines of code in 167 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 40 | 6,806 | 4,025 | 42,175 |
JSON | 3 | 0 | 0 | 32,920 |
PHP | 46 | 1,574 | 3,127 | 14,118 |
PO File | 12 | 5,124 | 6,342 | 13,203 |
CSS | 11 | 466 | 233 | 12,088 |
SVG | 53 | 60 | 3 | 1,215 |
Markdown | 2 | 4 | 0 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 11.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 42 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 201 | |
▷ Static methods | 17 | 8.46% |
▷ Public methods | 145 | 72.14% |
▷ Protected methods | 11 | 5.47% |
▷ Private methods | 45 | 22.39% |
Functions | 253 | |
▷ Named functions | 241 | 95.26% |
▷ Anonymous functions | 12 | 4.74% |
Constants | 55 | |
▷ Global constants | 34 | 61.82% |
▷ Class constants | 21 | 38.18% |
▷ Public constants | 21 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
24 PNG files occupy 4.82MB with 1.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/WPF-welcome_720.png | 25.58KB | 26.86KB | 0.00% |
images/integrations-image.png | 165.33KB | 171.46KB | 0.00% |
images/global-settings.png | 161.78KB | 39.77KB | ▼ 75.42% |
images/white-labelling.png | 103.31KB | 107.66KB | 0.00% |
images/user-permissions.png | 221.14KB | 53.14KB | ▼ 75.97% |