10% ix-wemonit

Code Review | IX WeMonit

WordPress plugin IX WeMonit scored 10% from 54 tests.

About plugin

  • Plugin page: ix-wemonit
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-3.4
  • WordPress version: 6.3.1
  • First release: Jul 19, 2012
  • Latest release: Jul 20, 2012
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: ixiter (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 827 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
  • The plugin did not install without errors
    • > Deprecated in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit.php+54
    Function create_function() is deprecated

Server metrics [RAM: ▼1.81MB] [CPU: ▼53.09ms] Passed 4 tests

Server-side resources used by IX WeMonit
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.18 ▼1.285.60 ▼36.39
Dashboard /wp-admin2.20 ▼1.116.57 ▼45.57
Posts /wp-admin/edit.php2.20 ▼1.168.15 ▼36.62
Add New Post /wp-admin/post-new.php2.20 ▼3.697.43 ▼93.77
Media Library /wp-admin/upload.php2.20 ▼1.036.23 ▼27.44
IX WeMonit /wp-admin/options-general.php?page=ix_wemonit2.206.56

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options
widget_ix_wemonit_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
ix_wemonit

Browser metrics Passed 4 tests

This is an overview of browser requirements for IX WeMonit
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.27 ▼1.034.98 ▲3.0743.08 ▼3.34
Dashboard /wp-admin2,210 ▲195.84 ▼0.06106.89 ▲3.8341.49 ▼4.66
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0340.52 ▲3.9636.19 ▲3.20
Add New Post /wp-admin/post-new.php1,517 ▼321.67 ▼1.40613.36 ▼75.7853.47 ▼6.81
Media Library /wp-admin/upload.php1,392 ▲44.14 ▼0.0594.13 ▼24.7243.31 ▼5.79
IX WeMonit /wp-admin/options-general.php?page=ix_wemonit8332.0324.1926.77

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • The plugin did not uninstall gracefully
    • > Deprecated in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit.php+54
    Function create_function() is deprecated
  • Zombie WordPress options detected upon uninstall: 8 options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • ix_wemonit
    • widget_ix_wemonit_widget
    • theysaidso_admin_options

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=ix_wemonit
    • > Deprecated in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit.php+54
    Function create_function() is deprecated
    • > GET request to /wp-admin/options-general.php?page=ix_wemonit
    • > Notice in wp-content/plugins/ix-wemonit/plugin/admin/options-page.phtml+6
    Undefined variable: wpnonce

SRP 0% 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 output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/ix-wemonit/plugin/template_tags.php
    • > /wp-content/plugins/ix-wemonit/loader.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ix-wemonit/plugin/Ix_Wemonit_Widget.php:3

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: Add images for these screenshots: #1 (The options page. Nothing but the apikey is required. Then it shows all available services with related shortcodes and template tags.), #2 (The build in widget control)
You can look at the official readme.txt

ix-wemonit/loader.php 92% from 13 tests

The main file in "IX WeMonit" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the 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 ("ix-wemonit.php" instead of "loader.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin409 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP58417409

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity19.00
▷ Minimum class complexity15.00
▷ Maximum class complexity23.00
Average method complexity2.33
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods27
▷ Static methods00.00%
▷ Public methods2488.89%
▷ Protected methods00.00%
▷ Private methods311.11%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 are no PNG files in this plugin