Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.25ms] Passed 4 tests
A check of server-side resources used by AtticThemes: Social Icons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.79 ▼5.02 |
Dashboard /wp-admin | 3.39 ▲0.09 | 55.26 ▲8.36 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 44.57 ▼4.30 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 86.24 ▼9.99 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 34.52 ▼1.68 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for AtticThemes: Social Icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.27 ▼1.10 | 1.73 ▼0.10 | 44.70 ▲4.38 |
Dashboard /wp-admin | 2,236 ▲48 | 5.02 ▼0.06 | 103.90 ▲1.77 | 36.41 ▼6.62 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.27 ▲0.26 | 41.34 ▲4.17 | 31.45 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.25 ▲0.05 | 647.44 ▼34.21 | 52.43 ▼1.33 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.32 ▲0.14 | 103.90 ▼2.14 | 41.28 ▼1.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atticthemes-social-icons/atticthemes-social-icons.php:542
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (**Admin Screen:** this is the main and only page in version 2.0 where you create and manage your icon sets.), #2 (**Setting Icon Link:** When an double clicked on an icon the icon link editor will pop up where you can set the link for your icon.), #3 (**Setting Custom Id For An Icon Set:** Double click on the generated shortcode on the right of the icon set to open the shortcode set id editor.)
atticthemes-social-icons/atticthemes-social-icons.php 92% from 13 tests
"AtticThemes: Social Icons" version 2.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 399 characters long)
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 detected2,675 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 1,013 |
CSS | 4 | 366 | 7 | 917 |
PHP | 1 | 77 | 57 | 410 |
JavaScript | 2 | 91 | 34 | 335 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 compressed PNG files occupy 0.09MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 30.07KB | 29.68KB | ▼ 1.31% |
screenshot-3.png | 30.13KB | 29.63KB | ▼ 1.66% |
screenshot-2.png | 29.71KB | 29.25KB | ▼ 1.57% |
images/trash.png | 0.23KB | 0.15KB | ▼ 35.32% |
images/menu-icon.png | 0.32KB | 0.23KB | ▼ 27.16% |