Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.36ms] Passed 4 tests
Server-side resources used by Divi Socials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.23 ▼1.38 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.71 ▼7.49 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.27 ▲2.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.34 ▼0.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.26 ▼3.91 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Divi Socials: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.17 ▲0.00 | 2.22 ▲0.31 | 48.50 ▲3.42 |
Dashboard /wp-admin | 2,195 ▲18 | 5.66 ▲0.12 | 87.66 ▼12.85 | 42.62 ▼0.07 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.04 | 38.87 ▲0.97 | 34.99 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.97 ▼0.45 | 677.09 ▼19.81 | 61.07 ▲8.12 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.29 ▲0.19 | 104.93 ▼11.54 | 41.81 ▼7.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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
Even though no errors were found, 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/divi-socials/public/partials/divi-socials-icons.php:15
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Donate link: Invalid URI found ("www.figarts.co/donate")
divi-socials/divi-socials.php Passed 13 tests
The principal PHP file in "Divi Socials" v. 1.1 is loaded by WordPress automatically on each request
89 characters long description:
Divi Socials adds more social icons with different styles and colors to your Divi header.
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
Good job! No executable or dangerous file extensions detected475 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 196 | 539 | 424 |
CSS | 2 | 4 | 8 | 26 |
JavaScript | 1 | 12 | 6 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 1 | 3.23% |
▷ Public methods | 25 | 80.65% |
▷ Protected methods | 1 | 3.23% |
▷ Private methods | 5 | 16.13% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected