84% quiveo-onsite-marketing

Code Review | Quiveo Onsite Marketing

WordPress plugin Quiveo Onsite Marketing scored84%from 54 tests.

About plugin

  • Plugin page: quiveo-onsite-mar...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.5.2
  • WordPress version: 6.3.1
  • First release: Mar 24, 2016
  • Latest release: May 10, 2016
  • Number of updates: 19
  • Update frequency: every 2.5 days
  • Top authors: quiveo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /660 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.00MB] [CPU: ▼5.35ms] Passed 4 tests

Analyzing server-side resources used by Quiveo Onsite Marketing
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.51 ▲2.24
Dashboard /wp-admin3.31 ▼0.0354.18 ▼3.36
Posts /wp-admin/edit.php3.36 ▲0.0144.34 ▼1.50
Add New Post /wp-admin/post-new.php5.89 ▲0.0179.00 ▼15.22
Media Library /wp-admin/upload.php3.23 ▲0.0132.09 ▼1.33
Quiveo OnsiteMarketing /wp-admin/options-general.php?page=quiveo_osm3.2028.43

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Quiveo Onsite Marketing
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,796 ▲3514.64 ▲0.241.76 ▲0.1244.18 ▲0.90
Dashboard /wp-admin2,202 ▲245.62 ▼0.1096.06 ▼3.7841.98 ▼0.15
Posts /wp-admin/edit.php2,104 ▲72.01 ▲0.0532.65 ▼5.0937.07 ▲2.40
Add New Post /wp-admin/post-new.php1,531 ▼023.04 ▼0.20671.11 ▲36.4263.28 ▲14.83
Media Library /wp-admin/upload.php1,404 ▲14.19 ▼0.0698.92 ▼2.1842.06 ▼0.42
Quiveo OnsiteMarketing /wp-admin/options-general.php?page=quiveo_osm9151.9623.1127.74

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quiveo-onsite-marketing/quiveo_onsitemarketing.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Tags: There are too many tags (29 tag instead of maximum 10)
You can look at the official readme.txt

quiveo-onsite-marketing/quiveo_onsitemarketing.php 92% from 13 tests

This is the main PHP file of "Quiveo Onsite Marketing" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("quiveo-onsite-marketing.php" instead of "quiveo_onsitemarketing.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected90 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.21
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions4100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
PNG images were not found in this plugin