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.03MB] [CPU: ▼1.09ms] Passed 4 tests
An overview of server-side resources used by Social comments by WpDevArt
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.65 ▲7.43 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.20 ▼3.15 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.17 ▲3.29 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.39 ▼5.49 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.06 ▲1.00 |
Hire an Expert /wp-admin/admin.php?page=wpdevart-comment-hire-expert | 3.23 | 35.77 |
FB comments /wp-admin/admin.php?page=FB-comments | 3.23 | 32.47 |
Featured Plugins /wp-admin/admin.php?page=wpdevart-comment-featured-plugins | 3.23 | 34.60 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Social comments by WpDevArt: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲217 | 14.88 ▲0.29 | 42.11 ▲40.25 | 44.70 ▼0.33 |
Dashboard /wp-admin | 2,261 ▲76 | 5.10 ▲0.17 | 96.25 ▼8.41 | 77.01 ▲35.82 |
Posts /wp-admin/edit.php | 2,153 ▲67 | 2.33 ▲0.33 | 37.55 ▲1.88 | 35.38 ▲3.45 |
Add New Post /wp-admin/post-new.php | 6,507 ▲4,993 | 20.54 ▲2.94 | 966.34 ▲308.81 | 41.86 ▼10.23 |
Media Library /wp-admin/upload.php | 1,440 ▲52 | 4.33 ▲0.05 | 101.70 ▲5.08 | 45.83 ▲0.16 |
Hire an Expert /wp-admin/admin.php?page=wpdevart-comment-hire-expert | 903 | 1.87 | 26.57 | 33.32 |
FB comments /wp-admin/admin.php?page=FB-comments | 1,914 | 2.52 | 39.72 | 55.97 |
Featured Plugins /wp-admin/admin.php?page=wpdevart-comment-featured-plugins | 1,111 | 1.90 | 27.08 | 40.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/comments-from-facebook/facebook-comment.php:27
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: facebook, wordpress comments, facebook comments, social comments, comments
comments-from-facebook/facebook-comment.php 85% from 13 tests
Analyzing the main PHP file in "Social comments by WpDevArt" version 2.5.6
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("comments-from-facebook.php" instead of "facebook-comment.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 148 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
There were no executable files found in this plugin1,434 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 163 | 56 | 930 |
CSS | 2 | 19 | 25 | 446 |
JavaScript | 1 | 10 | 3 | 58 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 3 | 8.82% |
▷ Public methods | 31 | 91.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.82% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
26 PNG files occupy 0.19MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hire_expert/1.png | 2.30KB | 1.72KB | ▼ 25.29% |
images/hire_expert/5.png | 2.88KB | 2.25KB | ▼ 21.81% |
images/hire_expert/4.png | 4.39KB | 3.08KB | ▼ 29.96% |
images/hire_expert/8.png | 1.98KB | 1.47KB | ▼ 25.74% |
images/featured_plugins/featured-duplicate.png | 22.49KB | 4.28KB | ▼ 80.96% |