Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.39ms] Passed 4 tests
A check of server-side resources used by Woorise - Forms, Giveaways, Surveys & Quizzes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.54 ▲1.93 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.66 ▼11.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 41.53 ▼6.25 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.18 ▼14.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.76 ▲3.46 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Woorise - Forms, Giveaways, Surveys & Quizzes: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.17 ▼0.18 | 1.80 ▲0.27 | 43.35 ▲4.28 |
Dashboard /wp-admin | 2,198 ▲18 | 5.64 ▲0.05 | 86.63 ▲0.20 | 42.79 ▲4.99 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.03 | 36.41 ▲2.23 | 36.37 ▼2.93 |
Add New Post /wp-admin/post-new.php | 6,362 ▲4,825 | 27.62 ▲9.39 | 921.41 ▲273.48 | 61.68 ▲3.95 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.28 ▲0.04 | 94.14 ▼18.42 | 45.96 ▼4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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
Even though everything seems fine, this is not 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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/woorise/woorise.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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
5 plugin tags: surveys, giveaways, contests, quizzes, forms
woorise/woorise.php Passed 13 tests
This is the main PHP file of "Woorise - Forms, Giveaways, Surveys & Quizzes" version 1.3.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
110 characters long description:
Create viral giveaways & contests, engaging forms, landing pages, surveys, quizzes, collect payments and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,503 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 235 | 58 | 1,403 |
PHP | 3 | 31 | 65 | 73 |
JSON | 1 | 0 | 0 | 27 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin