Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.52ms] Passed 4 tests
A check of server-side resources used by easy AMP=== easy AMP ===
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.13 ▲5.95 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.74 ▲0.70 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.13 ▼4.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.81 ▼17.19 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.81 ▼1.26 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- There were 1 file (0.06KB) illegally modified outside of "wp-content/plugins/wp-amp-it-up/" and "wp-content/uploads/"
- (new file) ads.txt
Filesystem: 231 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by easy AMP=== easy AMP ===
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.33 ▼0.40 | 1.75 ▼0.43 | 44.25 ▲0.73 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.10 | 91.14 ▲3.45 | 47.18 ▲5.49 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.19 | 34.34 ▼4.67 | 36.72 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.22 ▼0.10 | 660.53 ▼37.09 | 57.88 ▲2.81 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.21 ▲0.06 | 101.71 ▼1.16 | 43.70 ▲0.24 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% 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 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-amp-it-up/wp-amp-it-up.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== easy AMP=== easy AMP ======
) - Tags: There are too many tags (11 tag instead of maximum 10)
wp-amp-it-up/wp-amp-it-up.php 92% from 13 tests
This is the main PHP file of "easy AMP=== easy AMP ===" version 4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 416 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,615 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 110 | 550 | 770 | 2,200 |
PHP | 2 | 241 | 129 | 415 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin