90% humix

Code Review | Humix for WordPress

WordPress plugin Humix for WordPress scored90%from 54 tests.

About plugin

  • Plugin page: humix
  • Plugin version: 1.2.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8.0-6.2
  • WordPress version: 6.3.1
  • First release: Sep 19, 2023
  • Latest release: Sep 29, 2023
  • Number of updates: 7
  • Update frequency: every 1.4 days
  • Top authors: humix (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /683 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼8.79ms] Passed 4 tests

A check of server-side resources used by Humix for WordPress
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0543.74 ▼2.16
Dashboard /wp-admin3.35 ▲0.0050.78 ▼16.14
Posts /wp-admin/edit.php3.40 ▲0.0445.94 ▼2.55
Add New Post /wp-admin/post-new.php5.93 ▲0.0492.50 ▼10.97
Media Library /wp-admin/upload.php3.27 ▲0.0432.42 ▼5.48

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Humix for WordPress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲5913.25 ▼1.101.64 ▼0.4243.81 ▲0.05
Dashboard /wp-admin2,221 ▲184.85 ▼1.01113.67 ▲7.0144.36 ▲2.28
Posts /wp-admin/edit.php2,100 ▼02.02 ▼0.0335.41 ▼1.6533.85 ▼0.36
Add New Post /wp-admin/post-new.php6,369 ▲4,84328.88 ▲11.33944.83 ▲329.2466.56 ▲7.48
Media Library /wp-admin/upload.php1,403 ▼04.21 ▲0.0498.53 ▼5.4943.57 ▼0.12

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: embed, humix, video, network

humix/humix.php 92% from 13 tests

This is the main PHP file of "Humix for WordPress" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin19,060 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
JSON40013,583
JavaScript7150915,024
Sass2370243
PHP36963191
SVG10010
CSS3009

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.37
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
humix-block/src/assets/humixlogo.png9.83KB4.67KB▼ 52.45%
humix-block/build/images/humixlogo.6dc300c9.png9.83KB4.67KB▼ 52.45%