Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.15ms] Passed 4 tests
Analyzing server-side resources used by Atlas Discuss Quote Form Demo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.38 ▼8.92 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.04 ▼0.59 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.03 ▼5.24 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.48 ▼9.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.55 ▼1.07 |
Add New /wp-admin/post-new.php?post_type=atlas_discuss_form | 3.40 | 51.07 |
All Discuss Forms /wp-admin/edit.php?post_type=atlas_discuss_form | 3.31 | 38.26 |
Server storage [IO: ▲2.86MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Atlas Discuss Quote Form Demo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲194 | 14.58 ▲0.23 | 25.78 ▲24.03 | 42.61 ▼2.02 |
Dashboard /wp-admin | 2,219 ▲39 | 5.53 ▼0.14 | 90.69 ▼3.33 | 38.70 ▲0.07 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.04 ▲0.08 | 32.62 ▼7.35 | 36.23 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,555 ▲18 | 18.09 ▼0.43 | 648.28 ▲23.05 | 67.84 ▲3.80 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.20 ▼0.03 | 95.76 ▼14.22 | 43.27 ▼1.81 |
Add New /wp-admin/post-new.php?post_type=atlas_discuss_form | 2,356 | 7.56 | 186.52 | 65.66 |
All Discuss Forms /wp-admin/edit.php?post_type=atlas_discuss_form | 1,105 | 1.94 | 34.36 | 28.92 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- 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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=atlas_discuss_form
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/atlas-discuss-quote-form/admin/js/repeatable.js?ver=6.3.1:129:40)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=atlas_discuss_form
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: form, atlas form, atlas discuss quote form, quote form, contact form...
atlas-discuss-quote-form/index.php 77% from 13 tests
The main PHP script in "Atlas Discuss Quote Form Demo" version 1.0.3 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("atlas-discuss-quote-form.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 182 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 plugin9,395 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,316 | 1,139 | 4,920 |
CSS | 4 | 1,172 | 1,228 | 2,790 |
PHP | 7 | 97 | 149 | 1,000 |
SVG | 1 | 0 | 0 | 685 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin