89% junglewpultimo

Code Review | JungleWP Ultimo

WordPress plugin JungleWP Ultimo scored89%from 54 tests.

About plugin

  • Plugin page: junglewpultimo
  • Plugin version: 1.4
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.4.1
  • WordPress version: 6.3.1
  • First release: Feb 27, 2020
  • Latest release: May 10, 2020
  • Number of updates: 20
  • Update frequency: every 3.7 days
  • Top authors: junglewp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /570 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by JungleWP Ultimo
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1055.90 ▲15.93
Dashboard /wp-admin3.39 ▲0.0455.88 ▼7.20
Posts /wp-admin/edit.php3.50 ▲0.1451.44 ▼0.16
Add New Post /wp-admin/post-new.php5.97 ▲0.0892.41 ▼0.86
Media Library /wp-admin/upload.php3.31 ▲0.0844.11 ▲7.80

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for JungleWP Ultimo
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,926 ▲18013.68 ▼0.6711.47 ▲9.6644.41 ▲2.20
Dashboard /wp-admin2,223 ▲465.57 ▼0.0698.73 ▲8.1871.25 ▲30.45
Posts /wp-admin/edit.php2,132 ▲322.00 ▲0.0138.19 ▼3.5334.98 ▼5.95
Add New Post /wp-admin/post-new.php1,709 ▲18322.30 ▼0.92640.92 ▼47.4249.25 ▼3.74
Media Library /wp-admin/upload.php1,428 ▲314.26 ▲0.07104.25 ▲1.9970.24 ▲23.11

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • 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
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files

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)
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: multisite, wp mu, domain syncing, domain, wpultimo

junglewpultimo/junglewp-ultimo.php 77% from 13 tests

Analyzing the main PHP file in "JungleWP Ultimo" version 1.4
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("junglewpultimo.php" instead of "junglewp-ultimo.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Domain Path: The domain path is invalid: folder "/languages/" does not exist

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
Success! There were no dangerous files found in this plugin436 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP6186118409
Markdown19020
JavaScript1607

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity7.20
▷ Minimum class complexity4.00
▷ Maximum class complexity10.00
Average method complexity2.94
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods16
▷ Static methods00.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions583.33%
▷ Anonymous functions116.67%
Constants4
▷ Global constants4100.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
3 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/logo.png12.27KB5.35KB▼ 56.39%
assets/wpultimo_bg.png83.56KB28.86KB▼ 65.46%
assets/admin_icon.png2.68KB1.28KB▼ 52.35%