Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.53ms] Passed 4 tests
Analyzing server-side resources used by = XT Event Widget for Social Events
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.27 ▼0.90 |
Dashboard /wp-admin | 3.35 ▲0.05 | 59.20 ▲4.72 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 53.42 ▲2.39 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.95 ▼13.78 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.52 ▲2.16 |
Server storage [IO: ▲1.88MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_xtfacebook_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for = XT Event Widget for Social Events
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲68 | 13.56 ▼0.84 | 1.58 ▼0.43 | 44.02 ▼5.94 |
Dashboard /wp-admin | 2,252 ▲49 | 5.04 ▼0.80 | 104.36 ▼3.36 | 40.11 ▼1.61 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.33 ▲0.19 | 41.23 ▼0.25 | 36.53 ▼1.20 |
Add New Post /wp-admin/post-new.php | 6,395 ▲4,849 | 28.05 ▲4.89 | 918.90 ▲234.83 | 34.60 ▼37.33 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.47 ▲0.21 | 118.14 ▲7.24 | 44.87 ▼2.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_xtfacebook_widget
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: picture_url in wp-content/plugins/xt-facebook-events/templates/event-widget-style1.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function date_i18n() in wp-content/plugins/xt-facebook-events/templates/event-widget-style1.php:21
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #9 is missing in xt-facebook-events/assets to your readme.txt
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
xt-facebook-events/xt-facebook-events.php Passed 13 tests
The main file in "= XT Event Widget for Social Events" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
58 characters long description:
Display Facebook Events into your WordPress site anywhere.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin25,088 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 16,249 |
CSS | 5 | 86 | 30 | 3,920 |
SVG | 6 | 0 | 3 | 2,888 |
PHP | 17 | 255 | 554 | 1,801 |
JavaScript | 5 | 5 | 8 | 155 |
Markdown | 2 | 23 | 0 | 75 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 28.12 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 1 | 1.69% |
▷ Public methods | 54 | 91.53% |
▷ Protected methods | 1 | 1.69% |
▷ Private methods | 4 | 6.78% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 6 | |
▷ Global constants | 6 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/xt_logo.png | 8.77KB | 4.34KB | ▼ 50.47% |