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
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼9.23ms] Passed 4 tests
This is a short check of server-side resources used by Socials Ignited
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 40.29 ▼0.22 |
Dashboard /wp-admin | 3.57 ▲0.22 | 45.02 ▼16.53 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 47.98 ▲5.20 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 79.72 ▼23.30 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.36 ▲3.14 |
Socials Ignited /wp-admin/options-general.php?page=cisiw-options | 3.46 | 31.06 |
Server storage [IO: ▲3.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_socials-ignited |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Socials Ignited: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.59 ▼0.70 | 1.89 ▼0.11 | 41.87 ▼0.80 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼0.97 | 106.69 ▲6.44 | 36.32 ▼2.70 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.05 ▲0.06 | 38.98 ▲2.82 | 35.06 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,523 ▼14 | 23.22 ▲4.88 | 600.66 ▼27.93 | 53.52 ▲4.59 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.02 | 94.73 ▼6.48 | 41.80 ▼1.77 |
Socials Ignited /wp-admin/options-general.php?page=cisiw-options | 1,278 | 2.39 | 56.15 | 28.38 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_socials-ignited
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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 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
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/socials-ignited/includes/admin-page.php:102
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/socials-ignited/socials-ignited.php:33
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/socials-ignited/includes/widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: social, widget, icons, round, square...
socials-ignited/socials-ignited.php 85% from 13 tests
Analyzing the main PHP file in "Socials Ignited" version 2.0.0
Please make the necessary changes and fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin14,726 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
CSS | 8 | 1,537 | 10 | 3,289 |
PHP | 6 | 117 | 76 | 1,614 |
Sass | 3 | 19 | 0 | 146 |
JavaScript | 4 | 23 | 11 | 125 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 6.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 2 | 22.22% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin