84% marker-io

Code Review | Marker.io - Visual Website Feedback

WordPress plugin Marker.io - Visual Website Feedback scored84%from 54 tests.

About plugin

  • Plugin page: marker-io
  • Plugin version: 1.1.8
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.2.2
  • WordPress version: 6.3.1
  • First release: Jun 3, 2021
  • Latest release: Oct 16, 2023
  • Number of updates: 36
  • Update frequency: every 24.1 days
  • Top authors: markerio (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

3,000+ active /43,925 total downloads

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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.26ms] Passed 4 tests

An overview of server-side resources used by Marker.io - Visual Website Feedback
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.83 ▼8.17
Dashboard /wp-admin3.32 ▼0.0247.58 ▼16.26
Posts /wp-admin/edit.php3.38 ▲0.0242.14 ▼2.15
Add New Post /wp-admin/post-new.php5.91 ▲0.0290.89 ▼6.47
Media Library /wp-admin/upload.php3.25 ▲0.0234.70 ▼0.70
Marker.io /wp-admin/options-general.php?page=marker-io-plugin3.2228.54

Server storage [IO: ▲0.22MB] [DB: ▲0.07MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
markerio_plugin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Marker.io - Visual Website Feedback
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲5314.28 ▼0.362.15 ▲0.0750.91 ▲7.73
Dashboard /wp-admin2,203 ▲235.61 ▼0.0194.65 ▼5.9843.11 ▲0.28
Posts /wp-admin/edit.php2,108 ▲82.02 ▲0.0140.49 ▲0.7235.42 ▼1.60
Add New Post /wp-admin/post-new.php1,542 ▲718.24 ▲0.24622.53 ▼7.6361.54 ▲1.53
Media Library /wp-admin/upload.php1,408 ▲84.17 ▲0.0097.04 ▼5.2341.73 ▼0.76
Marker.io /wp-admin/options-general.php?page=marker-io-plugin9932.9349.1062.35

Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% 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 50% 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
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marker-io/marker-io.php:36

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: website feedback, visual feedback, feedback widget, bug-tracking, feedback

marker-io/marker-io.php Passed 13 tests

"Marker.io - Visual Website Feedback" version 1.1.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
92 characters long description:
Collect visual website feedback from colleagues and clients directly in your WordPress site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected417 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP37049276
JavaScript10572
CSS24047
SVG110022

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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