79% siiimple

Code Review | Siiimple

WordPress plugin Siiimple scored79%from 54 tests.

About plugin

  • Plugin page: siiimple
  • Plugin version: 3.0.10
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Jan 12, 2017
  • Latest release: Apr 13, 2023
  • Number of updates: 75
  • Update frequency: every 36.8 days
  • Top authors: francoisdubois.siiimple (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,570 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.11MB] [CPU: ▼20.70ms] Passed 4 tests

This is a short check of server-side resources used by Siiimple
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.42 ▼0.0427.61 ▼14.66
Dashboard /wp-admin3.29 ▼0.0533.45 ▼26.11
Posts /wp-admin/edit.php3.36 ▲0.0135.22 ▼12.59
Add New Post /wp-admin/post-new.php5.54 ▼0.3571.14 ▼29.43
Media Library /wp-admin/upload.php3.30 ▲0.0730.23 ▼2.65

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
recovery_mode_email_last_sent
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Siiimple
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /1,051 ▼1,69512.37 ▼1.950.28 ▼1.5619.18 ▼20.61
Dashboard /wp-admin728 ▼1,4211.38 ▼4.2812.67 ▼84.0818.72 ▼23.30
Posts /wp-admin/edit.php752 ▼1,3401.53 ▼0.515.98 ▼37.4315.90 ▼20.32
Add New Post /wp-admin/post-new.php508 ▼1,0111.73 ▼21.6219.28 ▼693.266.82 ▼62.45
Media Library /wp-admin/upload.php637 ▼7481.73 ▼2.4519.04 ▼84.5119.93 ▼24.66

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • recovery_mode_email_last_sent
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/siiimple/services/googletagmanager-contact-form-7.php
    • > /wp-content/plugins/siiimple/services/googletagmanager-leadin.php
  • 9× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siiimple/includes/functions/options.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/siiimple/services/googletagmanager.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siiimple/includes/functions/front-office.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/siiimple/includes/functions/back-office.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/siiimple/includes/functions/shortcodes.php:2
    • > PHP Warning
      require_once(./includes/functions/front-office.php): failed to open stream: No such file or directory in wp-content/plugins/siiimple/includes/init.php on line 2
    • > PHP Fatal error
      require_once(): Failed opening required './includes/functions/front-office.php' (include_path='.:/usr/share/php') in wp-content/plugins/siiimple/includes/init.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/siiimple/services/sirdata-cmp.php:1
    • > PHP Warning
      Use of undefined constant III_PLUGIN_FILE - assumed 'III_PLUGIN_FILE' (this will throw an Error in a future version of PHP) in wp-content/plugins/siiimple/includes/init.php on line 2

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: dashboard

siiimple/siiimple.php Passed 13 tests

The primary PHP file in "Siiimple" version 3.0.10 is used by WordPress to initiate all plugin functionality
53 characters long description:
Personnalisation clé-en-main et ressources Siiimple.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin706 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP123045455
CSS401113
JavaScript10786
SVG20152

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
Functions26
▷ Named functions26100.00%
▷ Anonymous functions00.00%
Constants1
▷ 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
No PNG files were detected