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.10MB] [CPU: ▼8.37ms] Passed 4 tests
An overview of server-side resources used by Ageify
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 41.93 ▲1.37 |
Dashboard /wp-admin | 3.41 ▲0.07 | 51.83 ▼15.39 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.66 ▼1.27 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.10 | 85.03 ▼17.73 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 37.45 ▲0.92 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Ageify
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.37 ▼0.30 | 1.88 ▼0.04 | 40.03 ▲1.00 |
Dashboard /wp-admin | 2,211 ▲37 | 5.66 ▲0.11 | 92.92 ▲1.41 | 42.28 ▼2.52 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.05 ▲0.05 | 37.52 ▼4.31 | 34.66 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,552 ▲8 | 23.01 ▼0.17 | 676.37 ▲15.65 | 53.58 ▼0.97 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.26 ▲0.13 | 102.12 ▼6.49 | 41.99 ▼6.76 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/install-ageify/ageifyIncludes/InitAgeify.php
- > /wp-content/plugins/install-ageify/install-ageify.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/install-ageify/templates/admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'AgeifyIncludes\\Base\\AgeifyBaseController' not found in wp-content/plugins/install-ageify/ageifyIncludes/Api/Callbacks/AgeifyAdminCallbacks.php:10
- > PHP Fatal error
Uncaught Error: Class 'AgeifyIncludes\\Base\\AgeifyBaseController' not found in wp-content/plugins/install-ageify/ageifyIncludes/Base/AgeifySettingsLinks.php:11
- > PHP Fatal error
Uncaught Error: Class 'AgeifyIncludes\\Base\\AgeifyBaseController' not found in wp-content/plugins/install-ageify/ageifyIncludes/Pages/AgeifyAdmin.php:12
- > PHP Fatal error
Uncaught Error: Class 'AgeifyIncludes\\Base\\AgeifyBaseController' not found in wp-content/plugins/install-ageify/ageifyIncludes/Base/AgeifyEnqueue.php:9
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Add tracking code provided from https://age-ify.com/#contact.) image not found
install-ageify/install-ageify.php 92% from 13 tests
The primary PHP file in "Ageify" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected966 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 451 | 211 | 666 |
JavaScript | 1 | 30 | 14 | 146 |
CSS | 2 | 24 | 9 | 136 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 6.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 54 | |
▷ Static methods | 7 | 12.96% |
▷ Public methods | 53 | 98.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.85% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.35MB with 0.21MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 354.95KB | 140.46KB | ▼ 60.43% |