65% atarim-visual-collaboration

Code Review | Visual Website Collaboration, Feedback & Project Management - Atarim

WordPress plugin Visual Website Collaboration, Feedback & Project Management - Atarim scored65%from 54 tests.

About plugin

  • Plugin page: atarim-visual-col...
  • Plugin version: 3.13
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Sep 21, 2022
  • Latest release: Nov 23, 2023
  • Number of updates: 113
  • Update frequency: every 3.9 days
  • Top authors: wpfeedback (100%)

Code review

54 tests

User reviews

125 reviews

Install metrics

1,000+ active /36,047 total downloads

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)
PageMemory (MB)CPU Time (ms)
Home /5.41 ▲1.9456.25 ▲14.64
Dashboard /wp-admin5.41 ▲2.10880.37 ▲829.22
Posts /wp-admin/edit.php5.42 ▲2.051,806.68 ▲1,762.62
Add New Post /wp-admin/post-new.php7.89 ▲2.001,251.54 ▲1,159.10
Media Library /wp-admin/upload.php5.23 ▲2.00924.86 ▲889.87
Tasks Center /wp-admin/admin.php?page=wpfeedback_page_tasks5.49382.49
Permissions /wp-admin/admin.php?page=wpfeedback_page_permissions5.32828.34
Settings /wp-admin/admin.php?page=wpfeedback_page_settings5.31810.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,163 ▲40117.08 ▲2.688.88 ▲7.2444.10 ▼2.37
Dashboard /wp-admin2,437 ▲2577.74 ▲2.12146.48 ▲54.10120.74 ▲83.55
Posts /wp-admin/edit.php2,374 ▲2744.53 ▲2.5559.06 ▲24.3293.40 ▲62.93
Add New Post /wp-admin/post-new.php1,504 ▼2218.80 ▼4.39586.54 ▼17.72119.95 ▲71.61
Media Library /wp-admin/upload.php1,511 ▲1085.80 ▲1.60105.38 ▲8.71104.38 ▲63.17
Tasks Center /wp-admin/admin.php?page=wpfeedback_page_tasks2,1904.8463.8775.81
Permissions /wp-admin/admin.php?page=wpfeedback_page_permissions1,8144.8667.9499.37
Settings /wp-admin/admin.php?page=wpfeedback_page_settings1,3224.3859.58104.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

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
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
JavaScript406,8064,02542,175
JSON30032,920
PHP461,5743,12714,118
PO File125,1246,34213,203
CSS1146623312,088
SVG536031,215
Markdown24012

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 code0.39
Average class complexity11.39
▷ Minimum class complexity1.00
▷ Maximum class complexity92.00
Average method complexity3.28
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces7
Interfaces2
Traits0
Classes42
▷ Abstract classes00.00%
▷ Concrete classes42100.00%
▷ Final classes00.00%
Methods201
▷ Static methods178.46%
▷ Public methods14572.14%
▷ Protected methods115.47%
▷ Private methods4522.39%
Functions253
▷ Named functions24195.26%
▷ Anonymous functions124.74%
Constants55
▷ Global constants3461.82%
▷ Class constants2138.18%
▷ Public constants21100.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
FileSize - originalSize - compressedSavings
images/WPF-welcome_720.png25.58KB26.86KB0.00%
images/integrations-image.png165.33KB171.46KB0.00%
images/global-settings.png161.78KB39.77KB▼ 75.42%
images/white-labelling.png103.31KB107.66KB0.00%
images/user-permissions.png221.14KB53.14KB▼ 75.97%