Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/logicrays-team-membres/lrtm-team-membres.php+72
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.88MB] [CPU: ▼55.74ms] Passed 4 tests
This is a short check of server-side resources used by Logicrays Team Members
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 7.14 ▼33.21 |
Dashboard /wp-admin | 2.12 ▼1.18 | 7.32 ▼47.85 |
Posts /wp-admin/edit.php | 2.12 ▼1.23 | 6.58 ▼44.84 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.76 | 7.06 ▼97.06 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.38 ▼29.80 |
Settings /wp-admin/edit.php?post_type=lrtm_teams&page=lrtm-setting-page | 2.12 | 6.46 |
Add New Member /wp-admin/post-new.php?post_type=lrtm_teams | 2.12 | 7.51 |
LR Teams /wp-admin/edit.php?post_type=lrtm_teams | 2.12 | 7.57 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Logicrays Team Members
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.22 ▼1.16 | 1.82 ▼0.01 | 39.58 ▼1.82 |
Dashboard /wp-admin | 2,237 ▲52 | 4.80 ▼1.13 | 116.06 ▲12.19 | 41.84 ▼2.94 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.00 ▲0.00 | 41.17 ▼1.92 | 35.11 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,559 ▲39 | 23.17 ▼0.09 | 645.58 ▼44.31 | 53.28 ▼4.61 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.21 ▼0.07 | 104.49 ▼2.87 | 46.45 ▲0.86 |
Settings /wp-admin/edit.php?post_type=lrtm_teams&page=lrtm-setting-page | 924 | 2.02 | 27.52 | 34.82 |
Add New Member /wp-admin/post-new.php?post_type=lrtm_teams | 1,740 | 3.59 | 65.07 | 33.38 |
LR Teams /wp-admin/edit.php?post_type=lrtm_teams | 1,093 | 1.97 | 32.90 | 31.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/logicrays-team-membres/lrtm-team-membres.php+72
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 20 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=lrtm_teams
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/logicrays-team-membres/lrtm-team-membres.php+80
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/logicrays-team-membres/includes/lrtm-team-style3.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/logicrays-team-membres/includes/lrtm-team-style1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/logicrays-team-membres/includes/lrtm-team-style2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/logicrays-team-membres/lrtm-team-membres.php:10
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Stable tag: Empty value
- Donate link: Please fix this invalid url: ""
logicrays-team-membres/lrtm-team-membres.php 92% from 13 tests
The main file in "Logicrays Team Members" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("logicrays-team-membres.php" instead of "lrtm-team-membres.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
Everything looks great! No dangerous files found in this plugin1,130 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 504 |
PHP | 4 | 21 | 7 | 325 |
CSS | 5 | 0 | 9 | 301 |
PHP code Passed 2 tests
An short overview of 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 code | 0.15 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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 images were found in this plugin