Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼296.35ms] Passed 4 tests
Server-side resources used by Animated Buttons with CSS3
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 56.24 ▲3.94 |
Dashboard /wp-admin | 3.42 ▲0.01 | 33.34 ▼0.41 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 35.58 ▼2.84 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 93.90 ▼1,174.65 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 22.93 ▼7.49 |
Server storage [IO: ▲0.13MB] [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: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Animated Buttons with CSS3
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,765 ▲23 | 16.21 ▲0.39 | 6.25 ▲0.50 | 2.15 ▲0.03 |
Dashboard /wp-admin | 2,888 ▲34 | 6.03 ▼0.18 | 114.39 ▼16.01 | 154.99 ▼3.87 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.23 ▼0.00 | 61.56 ▼0.54 | 140.94 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,668 ▼84 | 18.39 ▼3.23 | 403.14 ▼47.09 | 156.40 ▲4.96 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▼0.00 | 138.25 ▲1.29 | 184.53 ▼5.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/animated-buttons-with-css3/animated-buttons-with-css3.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Screenshot Post), #2 (Screenshot Panel)
animated-buttons-with-css3/animated-buttons-with-css3.php 92% from 13 tests
This is the main PHP file of "Animated Buttons with CSS3" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 151 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
Everything looks great! No dangerous files found in this plugin212 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 49 | 22 | 101 |
JavaScript | 4 | 4 | 4 | 68 |
PHP | 1 | 9 | 10 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
7 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/BGreen.png | 0.42KB | 0.34KB | ▼ 18.10% |
button_bg.png | 15.70KB | 7.88KB | ▼ 49.77% |
screenshot-1.png | 85.20KB | 29.13KB | ▼ 65.82% |
screenshot-2.png | 16.79KB | 7.82KB | ▼ 53.40% |
js/BBlue.png | 0.38KB | 0.32KB | ▼ 17.56% |