Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/notify-update-par-jm-crea/index.php+205
Trying to get property 'verif_nu' of non-object
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.36ms] Passed 4 tests
A check of server-side resources used by Notify Update par JM Créa
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.07 ▼0.03 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.40 ▼3.30 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 51.05 ▼0.10 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.86 ▼22.00 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.95 ▲1.55 |
Notify Update /wp-admin/tools.php?page=nu_jmcrea | 3.29 | 35.27 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_nu_jm_crea |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Notify Update par JM Créa
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.72 ▲0.30 | 1.59 ▼0.07 | 42.96 ▼4.72 |
Dashboard /wp-admin | 2,201 ▲27 | 5.66 ▲0.09 | 90.83 ▼1.69 | 40.14 ▼3.15 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.06 | 34.34 ▼4.14 | 35.62 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.13 ▼0.52 | 678.94 ▼20.54 | 65.64 ▲12.07 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▲0.01 | 100.74 ▼15.71 | 43.63 ▼4.69 |
Notify Update /wp-admin/tools.php?page=nu_jmcrea | 1,528 | 2.33 | 28.60 | 33.39 |
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
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_nu_jm_crea
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- 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 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 add_action() in wp-content/plugins/notify-update-par-jm-crea/index.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== notify-update-par-jm-crea ===
) - Tags: Too many tags (37 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Requires at least: Invalid plugin version format
notify-update-par-jm-crea/index.php 92% from 13 tests
The main PHP script in "Notify Update par JM Créa" version 2.2 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("notify-update-par-jm-crea.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin523 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 31 | 489 |
CSS | 1 | 4 | 1 | 34 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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