89% jot-data-manager

Code Review | Jot Data Manager

WordPress plugin Jot Data Manager scored89%from 54 tests.

About plugin

  • Plugin page: jot-data-manager
  • Plugin version: 1.18.531.3
  • PHP compatiblity: 7.1.7+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.5-4.9.6
  • WordPress version: 6.3.1
  • First release: May 22, 2018
  • Latest release: Jun 1, 2018
  • Number of updates: 48
  • Update frequency: every 0.2 days
  • Top authors: leetsombrero (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /775 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.28MB] [CPU: ▼8.87ms] Passed 4 tests

Server-side resources used by Jot Data Manager
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.71 ▲0.2442.67 ▲5.58
Dashboard /wp-admin3.58 ▲0.2843.39 ▼5.44
Posts /wp-admin/edit.php3.68 ▲0.3242.88 ▼3.31
Add New Post /wp-admin/post-new.php6.28 ▲0.3973.04 ▼27.89
Media Library /wp-admin/upload.php3.52 ▲0.2933.53 ▲1.17
Jot Settings /wp-admin/options-general.php?page=db-edit/settings.php3.4429.16

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Jot Data Manager
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2914.56 ▲0.281.61 ▼0.2143.17 ▲2.67
Dashboard /wp-admin2,206 ▲295.62 ▲0.0284.80 ▼2.7037.66 ▼2.77
Posts /wp-admin/edit.php2,108 ▲82.16 ▲0.1536.75 ▲0.9032.80 ▼3.61
Add New Post /wp-admin/post-new.php1,536 ▲1023.29 ▼0.36691.88 ▲25.2365.16 ▲6.43
Media Library /wp-admin/upload.php1,411 ▲174.27 ▲0.1298.20 ▼7.7942.51 ▼2.57
Jot Settings /wp-admin/options-general.php?page=db-edit/settings.php9092.1226.6128.33

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === jot-data-manager === )
The official readme.txt might help

jot-data-manager/index.php 92% from 13 tests

The entry point to "Jot Data Manager" version 1.18.531.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("jot-data-manager.php" instead of "index.php")

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
Success! There were no dangerous files found in this plugin1,711 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP11266331,496
JavaScript1175127
Markdown110051
CSS18037

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.49
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%
Functions29
▷ Named functions2586.21%
▷ Anonymous functions413.79%
Constants5
▷ Global constants5100.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 were not PNG files found in your plugin