10% notify-connect-par-jm-crea

Code Review | Notify connect par JM Créa

WordPress plugin Notify connect par JM Créa scored10%from 54 tests.

About plugin

  • Plugin page: notify-connect-pa...
  • Plugin version: 2.5
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Sep 12, 2015
  • Latest release: Apr 14, 2016
  • Number of updates: 45
  • Update frequency: every 4.8 days
  • Top authors: Dge-06 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active /1,695 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
  • Install procedure had errors
    • > Notice in wp-content/plugins/notify-connect-par-jm-crea/index.php+43
    Undefined variable: sql

Server metrics [RAM: ▼0.17MB] [CPU: ▼19.50ms] Passed 4 tests

A check of server-side resources used by Notify connect par JM Créa
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.39 ▼4.84
Dashboard /wp-admin3.20 ▼0.1435.67 ▼35.95
Posts /wp-admin/edit.php3.27 ▼0.0937.98 ▼12.55
Add New Post /wp-admin/post-new.php5.44 ▼0.4477.24 ▼24.65
Media Library /wp-admin/upload.php3.21 ▼0.0231.48 ▼3.32

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: 1 new table, 6 new options
New tables
wp_ncfbx
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Notify connect par JM Créa
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲7313.40 ▼1.181.86 ▲0.1048.49 ▲5.07
Dashboard /wp-admin2,223 ▲204.87 ▼0.19115.95 ▲0.2283.54 ▲40.46
Posts /wp-admin/edit.php2,114 ▲171.98 ▼0.0535.94 ▼1.1237.28 ▲0.97
Add New Post /wp-admin/post-new.php1,694 ▲15421.79 ▲3.85719.47 ▲88.9651.13 ▼5.21
Media Library /wp-admin/upload.php1,414 ▲174.28 ▼0.0399.25 ▼4.2465.37 ▲21.42

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Zombie tables were found after uninstall: 1 table
    • wp_ncfbx
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/notify-connect-par-jm-crea/index.php:46

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 28 tag instead of maximum 10
  • Requires at least: Version not formatted correctly
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === notify-connect-par-jm-crea === )
You can look at the official readme.txt

notify-connect-par-jm-crea/index.php 92% from 13 tests

The primary PHP file in "Notify connect par JM Créa" version 2.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("notify-connect-par-jm-crea.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin391 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP15925369
CSS11122

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.57
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
notify.png0.38KB0.49KB0.00%