Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.91ms] Passed 4 tests
A check of server-side resources used by lexiqueAgency
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 41.62 ▼5.59 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.19 ▼2.76 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.25 ▼2.19 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 99.60 ▼1.08 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.43 ▼0.44 |
Glossary Option /wp-admin/options-general.php?page=slug-agency-lexique | 3.28 | 31.31 |
Lexiques /wp-admin/edit.php?post_type=lexique_agency | 3.38 | 47.43 |
Add new Lexique /wp-admin/post-new.php?post_type=lexique_agency | 3.45 | 49.15 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
lexiqueAgency: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲197 | 13.85 ▼0.51 | 8.28 ▲6.40 | 41.12 ▼2.65 |
Dashboard /wp-admin | 2,232 ▲44 | 5.82 ▲0.98 | 106.85 ▼3.53 | 40.43 ▼5.54 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.00 ▼0.01 | 39.52 ▼0.25 | 38.87 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,380 ▼153 | 16.91 ▼6.32 | 522.61 ▼154.65 | 73.24 ▲17.44 |
Media Library /wp-admin/upload.php | 1,420 ▲35 | 4.20 ▼0.08 | 99.94 ▼0.57 | 40.80 ▼5.52 |
Glossary Option /wp-admin/options-general.php?page=slug-agency-lexique | 1,259 | 2.02 | 22.45 | 28.50 |
Lexiques /wp-admin/edit.php?post_type=lexique_agency | 1,094 | 1.97 | 29.57 | 29.42 |
Add new Lexique /wp-admin/post-new.php?post_type=lexique_agency | 2,222 | 7.63 | 174.60 | 112.03 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=slug-agency-lexique
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=slug-agency-lexique
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/lexiqueagency/classes/post_type.php
- > /wp-content/plugins/lexiqueagency/classes/lexique.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/lexiqueagency/index.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: Invalid plugin version format
lexiqueagency/index.php 92% from 13 tests
The principal PHP file in "lexiqueAgency" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("lexiqueagency.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin621 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 135 | 429 |
CSS | 1 | 1 | 6 | 66 |
PO File | 1 | 27 | 35 | 64 |
JavaScript | 2 | 2 | 4 | 62 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 17 | 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 | 6 | |
▷ Global constants | 6 | 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
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 20.85KB | 5.08KB | ▼ 75.61% |
icon_lexique.png | 1.36KB | 1.32KB | ▼ 3.02% |
screenshot1.png | 20.85KB | 5.08KB | ▼ 75.61% |