Benchmarks
Plugin footprint 65% 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: ▼2.13MB] [CPU: ▼61.00ms] Passed 4 tests
Analyzing server-side resources used by MAGNETIS Call-tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.58 | 6.06 ▼46.05 |
Dashboard /wp-admin | 2.17 ▼1.46 | 7.19 ▼61.24 |
Posts /wp-admin/edit.php | 2.17 ▼1.50 | 7.30 ▼45.12 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.97 | 6.09 ▼91.60 |
Media Library /wp-admin/upload.php | 2.17 ▼1.32 | 6.05 ▼30.29 |
Magnétis /wp-admin/options-general.php?page=magnetis_parameters_page | 2.18 | 7.67 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MAGNETIS Call-tracking
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,049 ▲303 | 13.62 ▼1.05 | 9.43 ▲7.46 | 28.57 ▼9.70 |
Dashboard /wp-admin | 2,350 ▲170 | 5.76 ▲0.11 | 85.30 ▼12.01 | 49.26 ▲8.77 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.09 ▲0.07 | 36.43 ▼1.91 | 33.03 ▼7.12 |
Add New Post /wp-admin/post-new.php | 1,556 ▲10 | 21.12 ▼2.36 | 655.09 ▼66.67 | 37.72 ▼17.76 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.42 ▲0.21 | 107.28 ▼6.46 | 47.85 ▲1.07 |
Magnétis /wp-admin/options-general.php?page=magnetis_parameters_page | 946 | 1.92 | 31.84 | 33.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-datepicker handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=magnetis_parameters_page
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-datepicker handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=magnetis_parameters_page
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=magnetis_parameters_page
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method magnetis_backoffice::magnetis_admin_menu() should not be called statically
- > GET request to /wp-admin/options-general.php?page=magnetis_parameters_page
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method magnetis_backoffice::magnetis_admin_init() should not be called statically
- > GET request to /wp-admin/options-general.php?page=magnetis_parameters_page
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method magnetis_backoffice::top_message() should not be called statically
- > GET request to /wp-admin/options-general.php?page=magnetis_parameters_page
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method magnetis_backoffice::magnetis_page() should not be called statically
- > GET request to /wp-admin/options-general.php?page=magnetis_parameters_page
- > Warning in wp-content/plugins/magnetis-call-tracking/magnetis.php+115
file_get_contents(https://app.magnetis.fr/console/connector/wordpressboard/moduleConfig/): failed to open stream: HTTP request failed! HTTP/1.1 400 Invalid authentification
SRP 50% 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/magnetis-call-tracking/magnetis.php:12
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: appel tlphonique, numro track, call-tracking, calltracking, suivi appel...
magnetis-call-tracking/magnetis.php 85% from 13 tests
"MAGNETIS Call-tracking" version 6.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 ("magnetis-call-tracking.php" instead of "magnetis.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 362 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin365 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 9 | 365 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 7.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected