10% insticator

Code Review | Insticator Turn Engagement into Revenue

WordPress plugin Insticator Turn Engagement into Revenue scored10%from 54 tests.

About plugin

  • Plugin page: insticator
  • Plugin version: 9.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9-4.8
  • WordPress version: 6.3.1
  • First release: Dec 11, 2015
  • Latest release: Nov 17, 2017
  • Number of updates: 72
  • Update frequency: every 10.3 days
  • Top authors: Insticator (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

40+ active /6,505 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
  • The plugin did not install without errors
    • > Deprecated in wp-content/plugins/insticator/plugin.php+343
    Function create_function() is deprecated

Server metrics [RAM: ▼1.97MB] [CPU: ▼57.70ms] Passed 4 tests

An overview of server-side resources used by Insticator Turn Engagement into Revenue
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.444.21 ▼37.85
Dashboard /wp-admin2.05 ▼1.305.62 ▼55.00
Posts /wp-admin/edit.php2.05 ▼1.317.41 ▼36.42
Add New Post /wp-admin/post-new.php2.05 ▼3.846.53 ▼101.53
Media Library /wp-admin/upload.php2.05 ▼1.185.37 ▼32.95

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_insticator-embed
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Insticator Turn Engagement into Revenue
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲5813.33 ▼0.761.94 ▼0.3942.72 ▼1.45
Dashboard /wp-admin2,210 ▲195.88 ▼0.01107.55 ▲1.3441.91 ▲5.01
Posts /wp-admin/edit.php2,096 ▲42.02 ▲0.0041.05 ▲3.8035.02 ▲5.61
Add New Post /wp-admin/post-new.php1,518 ▼1217.38 ▼1.12654.78 ▲9.2761.17 ▲3.40
Media Library /wp-admin/upload.php1,392 ▲44.17 ▼0.0595.85 ▼10.7142.71 ▼0.05

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/insticator/plugin.php+343
    Function create_function() is deprecated
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_insticator-embed
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget

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 no errors were found, this is by no means 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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/insticator/views/admin.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Tags: Too many tags (77 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

insticator/plugin.php 77% from 13 tests

The main PHP script in "Insticator Turn Engagement into Revenue" version 9.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: The principal plugin file should be the same as the plugin slug ("insticator.php" instead of "plugin.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 162 characters long)

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 detected266 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP361161216
CSS17128
PO File10017
JavaScript1105

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity1.56
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods18
▷ Static methods00.00%
▷ Public methods18100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
There are no PNG files in this plugin