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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼272.36ms] Passed 4 tests
An overview of server-side resources used by IDX Broker Simple Social Icons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.20 | 36.99 ▲7.98 |
Dashboard /wp-admin | 3.14 ▲0.09 | 43.18 ▼2.50 |
Posts /wp-admin/edit.php | 3.19 ▲0.09 | 42.94 ▼1.71 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.08 | 87.27 ▼1,089.16 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 38.00 ▲3.94 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_simple-social-icons |
Browser metrics Passed 4 tests
Checking browser requirements for IDX Broker Simple Social Icons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,680 ▲74 | 15.79 ▲0.25 | 8.05 ▼2.59 | 47.80 ▼1.26 |
Dashboard /wp-admin | 2,931 ▲81 | 5.92 ▲0.09 | 144.17 ▲4.46 | 112.13 ▼2.66 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▼0.00 | 78.53 ▲15.12 | 106.59 ▲15.27 |
Add New Post /wp-admin/post-new.php | 1,481 ▼370 | 18.29 ▲0.83 | 359.91 ▼16.03 | 122.70 ▲12.73 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 4.98 ▼0.03 | 148.03 ▼16.43 | 113.01 ▲1.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- widget_simple-social-icons
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 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/realtycandy-idx-broker-simple-social-icons-idxaddon/simple-social-icons.php:18
- > 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 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: idxbroker, idx broker, real estate, idx, social media...
realtycandy-idx-broker-simple-social-icons-idxaddon/simple-social-icons.php 77% from 13 tests
The primary PHP file in "IDX Broker Simple Social Icons" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 155 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("realtycandy-idx-broker-simple-social-icons-idxaddon.php" instead of "simple-social-icons.php")
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
Everything looks great! No dangerous files found in this plugin394 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 84 | 102 | 279 |
Markdown | 1 | 31 | 0 | 74 |
CSS | 1 | 5 | 0 | 41 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected