84% mixmat

Code Review | Mixmat

WordPress plugin Mixmat scored84%from 54 tests.

About plugin

  • Plugin page: mixmat
  • Plugin version: 1.0.63
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.9.3
  • WordPress version: 6.3.1
  • First release: Jun 21, 2017
  • Latest release: Jun 13, 2022
  • Number of updates: 20
  • Update frequency: every 90.9 days
  • Top authors: tradesouthwest@gmail.com (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,292 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▼3.37ms] Passed 4 tests

Server-side resources used by Mixmat
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0841.53 ▲4.56
Dashboard /wp-admin3.38 ▲0.0851.66 ▲2.01
Posts /wp-admin/edit.php3.49 ▲0.1449.15 ▲1.44
Add New Post /wp-admin/post-new.php5.98 ▲0.0984.16 ▼13.61
Media Library /wp-admin/upload.php3.30 ▲0.0736.30 ▼3.32

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

Mixmat: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,947 ▲20113.40 ▼0.981.66 ▼0.0444.02 ▲3.55
Dashboard /wp-admin2,348 ▲1605.09 ▲0.21103.93 ▼0.6738.69 ▼4.63
Posts /wp-admin/edit.php2,233 ▲1442.29 ▲0.3142.12 ▼0.9034.00 ▼1.51
Add New Post /wp-admin/post-new.php1,651 ▲12323.52 ▲2.47692.16 ▼25.8038.43 ▼20.50
Media Library /wp-admin/upload.php1,530 ▲1424.46 ▲0.2798.29 ▼13.4342.22 ▼5.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
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • 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 no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Almost there! Just fix the following items
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mixmat/includes/mixmat-editor.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mixmat/includes/mixmat-adminpage.php:10

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 issues were found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 15 tag instead of maximum 10
The official readme.txt might help

mixmat/mixmat.php Passed 13 tests

The primary PHP file in "Mixmat" version 1.0.63 is used by WordPress to initiate all plugin functionality
108 characters long description:
Mixmat Page Mixer gives editors an easy way to sectionalize the posts and pages without knowing CSS or HTML.

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
There were no executable files found in this plugin621 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.09
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions33100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.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
There were not PNG files found in your plugin