Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.84ms] Passed 4 tests
A check of server-side resources used by Ampry - Create Popups, Notifications, Sticky bars & more
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.41 ▼17.43 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.96 ▼1.92 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.26 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.73 ▼11.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.40 ▼0.26 |
Ampry Pixel /wp-admin/options-general.php?page=ampry-pixel/ampry-pixel.php | 3.21 | 30.10 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ampry - Create Popups, Notifications, Sticky bars & more
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 13.35 ▼1.03 | 1.71 ▼0.99 | 40.25 ▼13.26 |
Dashboard /wp-admin | 2,228 ▲25 | 4.81 ▼0.08 | 110.09 ▲0.27 | 48.66 ▲7.82 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.03 | 39.39 ▼0.58 | 40.50 ▲4.57 |
Add New Post /wp-admin/post-new.php | 1,529 ▼25 | 17.67 ▼0.34 | 707.64 ▲76.11 | 60.12 ▲6.56 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.28 ▲0.04 | 104.99 ▲0.65 | 42.69 ▼3.44 |
Ampry Pixel /wp-admin/options-general.php?page=ampry-pixel/ampry-pixel.php | 867 | 2.02 | 26.89 | 31.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ampry-pixel/inc/options.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ampry-pixel/inc/sidebar.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ampry-pixel/ampry-pixel.php:22
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Add your site domain in Ampry to create your first campaign.(https://d33v4339jhl8k0.cloudfront.net/docs/assets/5c9be06a0428633d2cf4240e/images/5e7242ed04286364bc96e1e5/file-yGoH0VqCYc.png)), #2 (Choose what type of placement you want to have on your site.(https://d33v4339jhl8k0.cloudfront.net/docs/assets/5c9be06a0428633d2cf4240e/images/5f29a03504286342d763bdcd/file-hVtvm9fTi2.png)), #3 (Choose what web pages you want your new placement to show on.(https://d33v4339jhl8k0.cloudfront.net/docs/assets/5c9be06a0428633d2cf4240e/images/5f29a12404286342d763bdd8/file-zG2REiMS2Q.png)), #4 (Select the template you want to use for your new placement.(https://d33v4339jhl8k0.cloudfront.net/docs/assets/5c9be06a0428633d2cf4240e/images/5f29a6ea04286342d763be98/file-40aho39eyf.png)), #5 (Add your content images and text to the template.(https://d33v4339jhl8k0.cloudfront.net/docs/assets/5c9be06a0428633d2cf4240e/images/5f29a83004286342d763beae/file-U3I0BmJMq2.png)), #6 (Place your Ampry pixel in your WordPress account.(https://gyazo.com/50de7db3e8b922bc200838035ad00deb)), #7 (Watch your leads, purchases, and conversions come in!(https://gyazo.com/d344fee60ac34f8bc3f7e9537a48e572))
ampry-pixel/ampry-pixel.php 92% from 13 tests
The main file in "Ampry - Create Popups, Notifications, Sticky bars & more" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin89 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 23 | 24 | 89 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin