80% mino-flatsome-title-with-category

Code Review | Mino Flatsome Title With Category

WordPress plugin Mino Flatsome Title With Category scored80%from 54 tests.

About plugin

  • Plugin page: mino-flatsome-tit...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.2.1
  • WordPress version: 6.3.1
  • First release: May 23, 2019
  • Latest release: May 23, 2019
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: minoteam (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,427 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼1.90MB] [CPU: ▼57.36ms] Passed 4 tests

Analyzing server-side resources used by Mino Flatsome Title With Category
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.10 ▼1.374.70 ▼38.15
Dashboard /wp-admin2.12 ▼1.236.31 ▼59.82
Posts /wp-admin/edit.php2.12 ▼1.245.65 ▼42.30
Add New Post /wp-admin/post-new.php2.12 ▼3.775.52 ▼89.17
Media Library /wp-admin/upload.php2.12 ▼1.125.44 ▼31.85

Server storage [IO: ▲0.23MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Mino Flatsome Title With Category
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲6013.29 ▼1.141.54 ▼0.3736.94 ▼4.86
Dashboard /wp-admin2,208 ▲595.84 ▲0.19104.11 ▼11.6838.54 ▼3.50
Posts /wp-admin/edit.php2,091 ▲22.14 ▲0.1439.76 ▲3.9634.58 ▲0.67
Add New Post /wp-admin/post-new.php1,516 ▼1717.53 ▼5.73657.63 ▲5.0853.18 ▼4.97
Media Library /wp-admin/upload.php1,390 ▲24.21 ▼0.02104.90 ▲4.8449.13 ▲4.57

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the flatsome-title-category handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
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)
There were no browser issues found

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: title, mino, flatsome

mino-flatsome-title-with-category/mino-flatsome-title-with-category.php 92% from 13 tests

The main PHP script in "Mino Flatsome Title With Category" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
  • Domain Path: The domain path folder does not exist ("/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
Good job! No executable or dangerous file extensions detected223 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP41343211
CSS10012

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity3.60
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.20MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-3.png90.93KB23.51KB▼ 74.14%
assets/banner-772x250.png36.37KB13.94KB▼ 61.67%
assets/screenshot-2.png37.95KB9.48KB▼ 75.03%
assets/icon-256x256.png14.35KB5.59KB▼ 61.04%
assets/icon-128x128.png8.06KB2.89KB▼ 64.10%