94% screensquid

Code Review | ScreenSquid - Watch visitors as they use your website

WordPress plugin ScreenSquid - Watch visitors as they use your website scored 94% from 54 tests.

About plugin

  • Plugin page: screensquid
  • Plugin version: 4.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.2-4.6.1
  • WordPress version: 5.8.1
  • First release: Oct 17, 2016
  • Latest release: Mar 3, 2017
  • Number of updates: 17
  • Update frequency: every 21.3 days
  • Top authors: screensquid (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 899 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼149.92ms] Passed 4 tests

This is a short check of server-side resources used by ScreenSquid - Watch visitors as they use your website
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.74 ▼0.1033.95 ▼16.30
Dashboard /wp-admin3.06 ▲0.0148.32 ▼13.71
Posts /wp-admin/edit.php3.12 ▲0.0147.76 ▼4.97
Add New Post /wp-admin/post-new.php5.42 ▼0.0198.41 ▼564.68
Media Library /wp-admin/upload.php3.01 ▲0.0136.64 ▲1.01

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

ScreenSquid - Watch visitors as they use your website: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,767 ▲17115.97 ▲0.2310.62 ▼2.7559.91 ▲2.97
Dashboard /wp-admin3,017 ▲835.88 ▼0.16148.19 ▼20.66126.02 ▼2.94
Posts /wp-admin/edit.php2,782 ▲432.73 ▲0.0271.01 ▼4.6795.69 ▼16.08
Add New Post /wp-admin/post-new.php1,696 ▲1318.72 ▲2.48411.38 ▲8.71117.18 ▼7.69
Media Library /wp-admin/upload.php1,854 ▲475.04 ▲0.01165.56 ▼6.79121.59 ▼3.65

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/screensquid/index.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: heatmap, visitor recording, user experience4, session recording, analytics

screensquid/index.php 92% from 13 tests

The entry point to "ScreenSquid - Watch visitors as they use your website" version 4.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("screensquid.php" instead of "index.php")

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
No dangerous file extensions were detected91 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1391091

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin