84% jentis

Code Review | JENTIS - simply better data

WordPress plugin JENTIS - simply better data scored 84% from 54 tests.

About plugin

  • Plugin page: jentis
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1
  • WordPress version: 6.3.1
  • First release: Dec 12, 2022
  • Latest release: Dec 21, 2022
  • Number of updates: 12
  • Update frequency: every 2.8 days
  • Top authors: jentiswoocommerce (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 605 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

An overview of server-side resources used by JENTIS - simply better data
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.99 ▼1.43
Dashboard /wp-admin3.31 ▲0.0144.77 ▼6.21
Posts /wp-admin/edit.php3.36 ▲0.0045.83 ▼2.65
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.63 ▼18.13
Media Library /wp-admin/upload.php3.23 ▲0.0033.91 ▼1.58

Server storage [IO: ▲0.04MB] [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: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

JENTIS - simply better data: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲7414.78 ▲0.161.85 ▲0.1047.53 ▼2.49
Dashboard /wp-admin2,212 ▲215.80 ▼0.0994.63 ▼7.1041.25 ▼4.17
Posts /wp-admin/edit.php2,097 ▲82.02 ▼0.0334.36 ▼5.8332.63 ▼2.47
Add New Post /wp-admin/post-new.php1,545 ▲1223.45 ▲0.19606.57 ▼72.6353.32 ▲3.10
Media Library /wp-admin/upload.php1,397 ▲64.21 ▲0.0293.14 ▼8.2141.55 ▼5.06

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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/jentis/inc/settings/wc-integration-jentis-tracking.php:11

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 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Donate link: Please fix this invalid url: ""
You can take inspiration from this readme.txt

jentis/jentis.php 92% from 13 tests

The principal PHP file in "JENTIS - simply better data" v. 1.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin893 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1970466
PHP385105427

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity2.50
▷ Minimum class complexity1.00
▷ Maximum class complexity4.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods6
▷ Static methods350.00%
▷ Public methods583.33%
▷ Protected methods00.00%
▷ Private methods116.67%
Functions15
▷ Named functions15100.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
PNG images were not found in this plugin