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: ▼0.91MB] [CPU: ▼167.24ms] Passed 4 tests
An overview of server-side resources used by Animated Twitter Bird
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 30.96 ▲11.29 |
Dashboard /wp-admin | 2.74 ▼0.32 | 16.73 ▼27.31 |
Posts /wp-admin/edit.php | 2.74 ▼0.37 | 18.70 ▼20.17 |
Add New Post /wp-admin/post-new.php | 2.74 ▼2.69 | 18.91 ▼613.77 |
Media Library /wp-admin/upload.php | 2.74 ▼0.26 | 24.69 ▼7.70 |
AnimatedTwitterBird /wp-admin/options-general.php?page=AnimatedTwitterBird | 2.74 | 29.47 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 2 new options
New WordPress options |
---|
animated_account |
animated_tweet |
Browser metrics Passed 4 tests
Checking browser requirements for Animated Twitter Bird
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,696 ▲100 | 16.23 ▲0.57 | 11.31 ▲2.88 | 49.53 ▲3.09 |
Dashboard /wp-admin | 2,975 ▲41 | 6.06 ▲0.08 | 132.90 ▼5.95 | 109.61 ▼5.38 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.69 ▼0.01 | 65.96 ▲3.67 | 92.87 ▲8.17 |
Add New Post /wp-admin/post-new.php | 1,501 ▼182 | 18.86 ▲0.08 | 378.94 ▲14.15 | 107.14 ▼3.26 |
Media Library /wp-admin/upload.php | 1,812 ▲79 | 5.03 ▲0.04 | 162.40 ▲13.15 | 145.50 ▲27.79 |
AnimatedTwitterBird /wp-admin/options-general.php?page=AnimatedTwitterBird | 1,032 | 2.06 | 61.17 | 88.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 2 options
- animated_tweet
- animated_account
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=AnimatedTwitterBird
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/anmiated-twitter-bird/twitterfeedreader.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/anmiated-twitter-bird/AnimatedTwitterBird.php:90
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Animated Bird)
- Screenshots: A description for screenshot #0 is missing in anmiated-twitter-bird/assets to your readme.txt
anmiated-twitter-bird/AnimatedTwitterBird.php 85% from 13 tests
"Animated Twitter Bird" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("anmiated-twitter-bird.php" instead of "AnimatedTwitterBird.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 473 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
No dangerous file extensions were detected628 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 0 | 1 | 448 |
PHP | 2 | 48 | 63 | 180 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 7 | |
▷ Named functions | 7 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 28.71KB | 11.02KB | ▼ 61.63% |
birdsprite.png | 63.93KB | 21.32KB | ▼ 66.65% |