10% jellybox

Code Review | jellybox

WordPress plugin jellybox scored10%from 54 tests.

About plugin

  • Plugin page: jellybox
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.1-3.9
  • WordPress version: 6.3.1
  • First release: Feb 21, 2013
  • Latest release: Apr 21, 2014
  • Number of updates: 65
  • Update frequency: every 6.5 days
  • Top authors: jellyfilledstudios (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

50+ active /5,371 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • Install procedure had errors
    • > Warning in wp-content/plugins/jellybox/jellybox.php+44
    fopen(wp-content/plugins/jellybox//css/jellybox.css): failed to open stream: No such file or directory

Server metrics [RAM: ▲0.01MB] [CPU: ▼11.35ms] Passed 4 tests

Analyzing server-side resources used by jellybox
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0242.06 ▲1.51
Dashboard /wp-admin3.33 ▼0.0245.43 ▼17.92
Posts /wp-admin/edit.php3.38 ▲0.0243.06 ▼5.32
Add New Post /wp-admin/post-new.php5.91 ▲0.0279.47 ▼19.14
Media Library /wp-admin/upload.php3.25 ▲0.0235.15 ▼3.00

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for jellybox
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.20 ▼0.081.92 ▲0.2044.27 ▼0.13
Dashboard /wp-admin2,195 ▲175.55 ▼0.1698.23 ▲1.3341.60 ▼3.26
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0035.60 ▼3.2835.08 ▲1.28
Add New Post /wp-admin/post-new.php1,526 ▼223.12 ▼0.18650.96 ▼26.3651.98 ▼10.01
Media Library /wp-admin/upload.php1,400 ▼04.13 ▼0.0893.90 ▼20.7643.12 ▼4.88

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • 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
Even though everything seems fine, this is not 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
The following issues need your attention
  • 4× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Warning
      Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/jellybox/jellybox.php on line 2
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jellybox/jellybox.php on line 2
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHWPINC/shortcodes.php' (include_path='.:/usr/share/php') in wp-content/plugins/jellybox/jellybox.php on line 2
    • > PHP Warning
      require_once(ABSPATHWPINC/shortcodes.php): failed to open stream: No such file or directory in wp-content/plugins/jellybox/jellybox.php on line 2

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 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
10 plugin tags: text rotation, animation, slider, plugin, drawer...

jellybox/jellybox.php Passed 13 tests

The entry point to "jellybox" version 1.4 is a PHP file that has certain tags in its header comment area
45 characters long description:
Tilted and/or Animated Text, Images and Boxes

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 plugin679 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript113260429
PHP15258136
CSS24269114

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.13
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin