Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.53ms] Passed 4 tests
This is a short check of server-side resources used by WP-EspritManuel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.79 ▼0.55 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.01 ▼2.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.33 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.73 ▼14.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.23 ▲0.12 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP-EspritManuel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.48 ▲0.13 | 2.14 ▲0.55 | 42.73 ▲0.14 |
Dashboard /wp-admin | 2,224 ▲57 | 4.87 ▼0.82 | 103.19 ▲3.40 | 42.31 ▼3.57 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▲0.03 | 33.99 ▼4.89 | 37.52 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,526 ▼28 | 17.64 ▼0.72 | 693.71 ▲57.42 | 51.31 ▼19.41 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▲0.06 | 102.85 ▼5.04 | 47.94 ▼0.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-espritmanuel/wp-espritmanuel.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (cliquer le nouveau bouton espritmanuel dans votre editeur d'article wordpress.), #2 (Le guide sera automatiquement inséré dans votre article)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wp-espritmanuel/wp-espritmanuel.php Passed 13 tests
The main PHP file in "WP-EspritManuel" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
Bouton dans l'éditeur de wordpress pour insérer un guide EspritManuel
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
Everything looks great! No dangerous files found in this plugin109 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 10 | 4 | 69 |
PHP | 1 | 7 | 19 | 40 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.43MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 61.00KB | 29.25KB | ▼ 52.05% |
screenshot-3.png | 363.96KB | 80.80KB | ▼ 77.80% |
screenshot-2.png | 11.15KB | 6.30KB | ▼ 43.46% |
em.png | 0.90KB | 0.89KB | ▼ 0.87% |