84% jellyreach

Code Review | Jellyreach

WordPress plugin Jellyreach scored84%from 54 tests.

About plugin

  • Plugin page: jellyreach
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.9.2
  • WordPress version: 6.3.1
  • First release: May 10, 2022
  • Latest release: May 10, 2022
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: nedimtalovic (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,307 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▼8.38ms] Passed 4 tests

This is a short check of server-side resources used by Jellyreach
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1036.62 ▼12.45
Dashboard /wp-admin3.40 ▲0.1044.86 ▼4.01
Posts /wp-admin/edit.php3.52 ▲0.1647.28 ▲2.74
Add New Post /wp-admin/post-new.php6.00 ▲0.1282.56 ▼19.79
Media Library /wp-admin/upload.php3.33 ▲0.1036.17 ▲3.22

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

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

Browser metrics Passed 4 tests

Jellyreach: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,848 ▲10214.28 ▲0.021.91 ▼0.1642.82 ▼12.63
Dashboard /wp-admin2,232 ▲555.52 ▼0.0890.81 ▼4.5485.82 ▲44.72
Posts /wp-admin/edit.php2,137 ▲371.97 ▼0.0639.84 ▲2.5836.11 ▲3.08
Add New Post /wp-admin/post-new.php1,563 ▲3717.80 ▼5.33706.55 ▲76.9865.66 ▲5.45
Media Library /wp-admin/upload.php1,431 ▲314.11 ▼0.0799.11 ▼0.4481.76 ▲36.18

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: 7 options
    • jellyreach_api_key
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 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
Almost there! Just fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/jellyreach/public/partials/jellyreach-public-display.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 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
3 plugin tags: email marketing, sms marketing, marketing automation

jellyreach/jellyreach.php 92% from 13 tests

The main PHP script in "Jellyreach" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
  • Requires at least: The required version number did not match the one declared in readme.txt ("4.4.0" instead of "4.4")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected462 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP12111500388
CSS211851
SVG20020
JavaScript22593

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity2.57
▷ Minimum class complexity1.00
▷ Maximum class complexity9.00
Average method complexity1.37
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods30
▷ Static methods26.67%
▷ Public methods2480.00%
▷ Protected methods13.33%
▷ Private methods516.67%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin