Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.33ms] Passed 4 tests
Analyzing server-side resources used by Create an AMP Mobile Site from your WordPress site for Fast, High Converting pages on Mobile
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.14 ▼5.32 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.53 ▼1.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.29 ▼0.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.56 ▼9.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.07 ▼1.83 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Create an AMP Mobile Site from your WordPress site for Fast, High Converting pages on Mobile
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.29 ▼1.14 | 1.68 ▼0.23 | 43.43 ▲0.25 |
Dashboard /wp-admin | 2,220 ▲32 | 5.86 ▲0.96 | 105.21 ▲1.60 | 79.29 ▲36.66 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.03 ▲0.06 | 38.00 ▲2.05 | 33.89 ▼4.04 |
Add New Post /wp-admin/post-new.php | 1,542 ▲22 | 23.33 ▲0.17 | 775.55 ▲112.83 | 54.53 ▼3.22 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.19 ▼0.04 | 95.86 ▼6.49 | 73.00 ▲28.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: amp, creator
amp-mobile-sites-creator/amp-mobile-sites-creator.php 92% from 13 tests
The entry point to "Create an AMP Mobile Site from your WordPress site for Fast, High Converting pages on Mobile" version 1.0.6 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 249 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,014 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 183 | 654 | 856 |
JavaScript | 2 | 179 | 131 | 814 |
CSS | 2 | 66 | 0 | 344 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.91 |
Average class complexity | 134.00 |
▷ Minimum class complexity | 134.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 9 | 25.71% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 2 | 5.71% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 4.73KB | 3.33KB | ▼ 29.76% |
img/icon_amp.png | 0.43KB | 0.57KB | 0.00% |