Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.68MB] [CPU: ▼49.24ms] Passed 4 tests
An overview of server-side resources used by AppyAds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 10.38 ▼32.48 |
Dashboard /wp-admin | 2.33 ▼0.98 | 11.11 ▼38.13 |
Posts /wp-admin/edit.php | 2.33 ▼1.03 | 9.95 ▼39.81 |
Add New Post /wp-admin/post-new.php | 2.33 ▼3.56 | 15.66 ▼86.53 |
Media Library /wp-admin/upload.php | 2.33 ▼0.90 | 11.82 ▼21.57 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_appyads-ad |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
AppyAds: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.48 ▲0.13 | 1.64 ▼0.02 | 45.25 ▼0.35 |
Dashboard /wp-admin | 2,217 ▲37 | 5.88 ▲0.21 | 99.00 ▲7.45 | 64.67 ▲20.50 |
Posts /wp-admin/edit.php | 2,133 ▲36 | 2.21 ▲0.19 | 42.20 ▲4.71 | 37.25 ▲2.23 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.31 ▲0.16 | 697.34 ▼14.13 | 52.08 ▼7.01 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.35 ▲0.15 | 104.78 ▼10.48 | 43.48 ▼8.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in AppyAds_Ad is deprecated since version 4.3.0! Use __construct() instead.
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- widget_appyads-ad
- db_upgraded
Smoke tests 75% from 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 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
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/appyads/classes/AppyAds_Ad.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/appyads/lib/appyads_library.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/appyads/admin/appyads_admin.php:10
- > PHP Fatal error
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 97% 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
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
appyads/appyads.php Passed 13 tests
The primary PHP file in "AppyAds" version 1.0.3 is used by WordPress to initiate all plugin functionality
96 characters long description:
An advertising alternative for publishers, media outlets, mobile application and website owners.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected261 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 23 | 78 | 261 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/aaspc-160X80.png | 0.22KB | 0.13KB | ▼ 38.57% |
img/appyads_logo.png | 6.33KB | 4.08KB | ▼ 35.62% |
img/aaspc-180X180.png | 0.21KB | 0.11KB | ▼ 49.77% |
img/aaspc-970X250.png | 0.21KB | 0.11KB | ▼ 49.07% |
img/aaspc-300X250.png | 0.22KB | 0.11KB | ▼ 51.97% |