Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.89ms] Passed 4 tests
An overview of server-side resources used by AWeber Dev Facile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.72 ▼7.05 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.38 ▼2.67 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 47.56 ▼1.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.38 ▲5.18 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.42 ▲4.07 |
Server storage [IO: ▲0.16MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by AWeber Dev Facile
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.27 ▼1.10 | 1.97 ▼0.05 | 38.54 ▼3.37 |
Dashboard /wp-admin | 2,213 ▲25 | 5.89 ▲1.00 | 104.24 ▼1.85 | 38.73 ▼2.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.00 | 39.50 ▼2.47 | 34.62 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.79 ▼4.58 | 600.51 ▼41.46 | 56.53 ▲2.82 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.21 ▲0.00 | 95.39 ▲0.35 | 40.91 ▼1.45 |
AWeber DevFacile /wp-admin/api-AW-devfacile.php | 26 | 0.44 | 0.07 | 13.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/aweber-dev-facile/aweber-devfacile.php
- > /wp-content/plugins/aweber-dev-facile/languages/strings.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/aweber-dev-facile/aweber_api/aweber_collection.php:2
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/aweber-dev-facile/aweber_api/oauth_application.php:57
- > PHP Fatal error
Uncaught Error: Class 'AWeberAPIBase' not found in wp-content/plugins/aweber-dev-facile/aweber_api/aweber_response.php:14
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/aweber-dev-facile/aweber_api/aweber_entry.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/api-AW-devfacile.php
- > Network (severe)
wp-admin/api-AW-devfacile.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Administration du plugin Dev Facile.), #2 (Ajout du nombre d'abonnés AWeber d'une ou plusieurs listes dans un Widget.), #3 (Résultat de l'affichage du compteur dans un Widget.)
aweber-dev-facile/aweber-devfacile.php 77% from 13 tests
The entry point to "AWeber Dev Facile" version 0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("aweber-dev-facile.php" instead of "aweber-devfacile.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 461 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Success! There were no dangerous files found in this plugin1,608 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 552 | 1,303 | 1,476 |
PO File | 2 | 36 | 36 | 132 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 4 | 2.86% |
▷ Public methods | 121 | 86.43% |
▷ Protected methods | 18 | 12.86% |
▷ Private methods | 1 | 0.71% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 4.28KB | 1.28KB | ▼ 70.08% |
screenshot-1.png | 13.83KB | 6.58KB | ▼ 52.46% |
screenshot-2.png | 34.26KB | 12.71KB | ▼ 62.91% |