84% mindbreeze-insite

Code Review | Mindbreeze InSite

WordPress plugin Mindbreeze InSite scored 84% from 54 tests.

About plugin

  • Plugin page: mindbreeze-insite
  • Plugin version: 13.2.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-3.5.1
  • WordPress version: 6.3.1
  • First release: Jul 3, 2013
  • Latest release: Jul 3, 2013
  • Number of updates: 3
  • Update frequency: every 2.3 days
  • Top authors: mindbreeze (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 645 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

Server-side resources used by Mindbreeze InSite
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.11 ▼4.58
Dashboard /wp-admin3.31 ▲0.0151.09 ▲2.14
Posts /wp-admin/edit.php3.36 ▲0.0146.20 ▼2.26
Add New Post /wp-admin/post-new.php5.89 ▲0.0186.04 ▼1.24
Media Library /wp-admin/upload.php3.24 ▲0.0138.08 ▲2.33
Mindbreeze InSite /wp-admin/options-general.php?page=mindbreeze-options-page3.2030.11

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts
mindbreeze_cfg

Browser metrics Passed 4 tests

Checking browser requirements for Mindbreeze InSite
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.22 ▼1.474.36 ▲2.3343.85 ▼4.30
Dashboard /wp-admin2,213 ▲255.90 ▲0.8597.55 ▼18.9242.79 ▼1.78
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0233.67 ▼0.8532.45 ▼4.60
Add New Post /wp-admin/post-new.php1,542 ▲923.23 ▼0.12662.79 ▼17.0855.01 ▲1.84
Media Library /wp-admin/upload.php1,395 ▲74.25 ▲0.03109.97 ▼2.8846.36 ▼1.07
Mindbreeze InSite /wp-admin/options-general.php?page=mindbreeze-options-page8002.0326.4230.40

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • mindbreeze_cfg
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× 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/mindbreeze-insite/mindbreeze.php:111

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
1 plugin tags: search

mindbreeze-insite/mindbreeze.php 92% from 13 tests

The main PHP file in "Mindbreeze InSite" ver. 13.2.7 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mindbreeze-insite.php" instead of "mindbreeze.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin89 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1152589

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin