Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼13.12ms] Passed 4 tests
An overview of server-side resources used by RS Elements Elementor Addon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.36 ▼24.98 |
Dashboard /wp-admin | 3.40 ▲0.06 | 51.38 ▼16.20 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 49.56 ▲1.94 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.02 ▼11.24 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.99 ▼0.04 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonials | 3.32 | 33.15 |
All Team /wp-admin/edit.php?post_type=teams | 3.37 | 42.86 |
Team Categories /wp-admin/edit-tags.php?taxonomy=team-category&post_type=teams | 3.32 | 36.28 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonials | 3.46 | 54.58 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolios | 3.32 | 43.97 |
All Portfolio /wp-admin/edit.php?post_type=portfolios | 3.37 | 38.03 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolios | 3.45 | 51.39 |
Add New Team /wp-admin/post-new.php?post_type=teams | 3.48 | 52.82 |
All Testimonial /wp-admin/edit.php?post_type=testimonials | 3.37 | 37.22 |
Server storage [IO: ▲5.38MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 106 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by RS Elements Elementor Addon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲170 | 13.32 ▼1.03 | 1.63 ▼0.39 | 44.20 ▼2.10 |
Dashboard /wp-admin | 2,328 ▲125 | 4.93 ▼0.88 | 102.05 ▼15.71 | 80.23 ▲35.10 |
Posts /wp-admin/edit.php | 2,207 ▲107 | 2.03 ▼0.02 | 35.44 ▼1.55 | 34.91 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,773 ▲239 | 22.42 ▼0.86 | 668.09 ▲14.93 | 27.50 ▼27.15 |
Media Library /wp-admin/upload.php | 1,504 ▲104 | 4.20 ▲0.00 | 102.34 ▼4.20 | 47.95 ▲3.43 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonials | 1,381 | 2.28 | 28.65 | 36.37 |
All Team /wp-admin/edit.php?post_type=teams | 1,179 | 1.96 | 35.11 | 32.20 |
Team Categories /wp-admin/edit-tags.php?taxonomy=team-category&post_type=teams | 1,381 | 2.28 | 30.50 | 34.73 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonials | 2,473 | 7.60 | 177.59 | 141.50 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolios | 1,384 | 2.31 | 29.72 | 33.99 |
All Portfolio /wp-admin/edit.php?post_type=portfolios | 1,176 | 1.97 | 31.60 | 31.66 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolios | 2,482 | 7.79 | 187.26 | 115.49 |
Add New Team /wp-admin/post-new.php?post_type=teams | 2,556 | 7.70 | 170.25 | 129.83 |
All Testimonial /wp-admin/edit.php?post_type=testimonials | 1,176 | 2.00 | 33.59 | 33.86 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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 | 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
- 24× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/rselements-lite/widgets/testimonial/grid.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/rselements-lite/widgets/portfolio-grid/style3.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rselements-lite/widgets/team-member/style4.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rselements-lite/widgets/portfolio-grid/style3.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rselements-lite/widgets/team-member/style6.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rselements-lite/widgets/portfolio-grid/style1.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rselements-lite/widgets/team-member/style3.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rselements-lite/widgets/team-member/style1.php:1
- > PHP Notice
Undefined variable: settings in wp-content/plugins/rselements-lite/widgets/portfolio-grid/style2p.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/rselements-lite/widgets/portfolio-grid/style2p.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 83% 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
Please fix the following attributes:
- Requires php: Invalid version format
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in rselements-lite/assets to your readme.txt
rselements-lite/rs-addon.php 77% from 13 tests
The entry point to "RS Elements Elementor Addon" version 1.1.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 260 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rselements-lite.php" instead of "rs-addon.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected44,634 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 3,097 | 1,901 | 21,649 |
SVG | 5 | 1 | 15 | 12,117 |
LESS | 1 | 337 | 187 | 6,093 |
CSS | 10 | 1,508 | 65 | 4,467 |
JavaScript | 7 | 45 | 52 | 197 |
Sass | 1 | 5 | 0 | 111 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 11.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 31 | 100.00% |
▷ Final classes | 1 | 3.23% |
Methods | 200 | |
▷ Static methods | 2 | 1.00% |
▷ Public methods | 145 | 72.50% |
▷ Protected methods | 54 | 27.00% |
▷ Private methods | 1 | 0.50% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/testimonial/img/5.png | 1.47KB | 0.51KB | ▼ 65.70% |
widgets/testimonial/img/1.5.png | 1.79KB | 0.73KB | ▼ 59.01% |
widgets/testimonial/img/2.5.png | 1.80KB | 0.75KB | ▼ 58.28% |
post-type/portfolio/img/icon.png | 1.10KB | 0.17KB | ▼ 84.97% |
widgets/testimonial/img/4.5.png | 1.57KB | 0.58KB | ▼ 63.40% |