Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.16ms] Passed 4 tests
This is a short check of server-side resources used by LeadQuizzes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.68 ▲1.14 |
Dashboard /wp-admin | 3.41 ▲0.07 | 56.03 ▼6.45 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 48.85 ▲4.47 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 85.90 ▼15.78 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 45.81 ▲9.22 |
Add New /wp-admin/post-new.php?post_type=leadquiz | 3.37 | 45.99 |
LeadQuizzes /wp-admin/edit.php?post_type=leadquiz | 3.36 | 39.93 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for LeadQuizzes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.48 ▲0.13 | 1.81 ▲0.16 | 43.73 ▲1.37 |
Dashboard /wp-admin | 2,208 ▲28 | 5.56 ▼0.11 | 89.98 ▲1.49 | 76.87 ▲36.44 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.98 ▲0.02 | 35.21 ▼4.49 | 30.91 ▼6.27 |
Add New Post /wp-admin/post-new.php | 1,705 ▲174 | 22.09 ▼0.89 | 611.07 ▲4.58 | 47.96 ▼8.53 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.22 ▲0.03 | 100.34 ▼8.62 | 80.51 ▲35.63 |
Add New /wp-admin/post-new.php?post_type=leadquiz | 1,482 | 2.49 | 47.42 | 70.42 |
LeadQuizzes /wp-admin/edit.php?post_type=leadquiz | 1,092 | 1.90 | 31.67 | 27.78 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
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 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title() in wp-content/plugins/leadquizzes/view/single-leadquiz.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Contributors: The plugin contributors field is missing
leadquizzes/leadquizzes.php Passed 13 tests
The main file in "LeadQuizzes" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
29 characters long description:
LeadQuizzes Wordpress Plugin.
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
No dangerous file extensions were detected434 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 153 | 444 | 311 |
CSS | 2 | 18 | 0 | 113 |
JavaScript | 2 | 4 | 27 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 1.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 0.42KB | 0.54KB | 0.00% |