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
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.98ms] Passed 4 tests
Analyzing server-side resources used by Quick Analytics
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.12 ▲0.30 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.84 ▼3.03 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.71 ▲3.87 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.46 ▼1.57 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.04 ▲0.40 |
Quick Analytics /wp-admin/options-general.php?page=quick-analytics | 3.32 | 30.58 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Quick Analytics: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.31 ▼0.96 | 1.72 ▼0.33 | 41.07 ▼4.16 |
Dashboard /wp-admin | 2,213 ▲22 | 4.84 ▼0.06 | 105.42 ▼14.17 | 39.41 ▼7.97 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▼0.05 | 36.05 ▼2.68 | 33.46 ▼2.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.63 ▼4.62 | 604.85 ▼63.55 | 50.24 ▼4.22 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.23 ▲0.03 | 100.96 ▲0.96 | 43.60 ▼3.36 |
Quick Analytics /wp-admin/options-general.php?page=quick-analytics | 1,324 | 1.70 | 25.61 | 31.28 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/quick-analytics/includes/admin/templates/options.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #1 is missing in quick-analytics/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
quick-analytics/quick-analytics.php Passed 13 tests
The entry point to "Quick Analytics" version 1.0.0 is a PHP file that has certain tags in its header comment area
80 characters long description:
A simple plugin that helps you to integrate quickly your analytics tracking IDs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin864 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 357 | 133 | 720 |
PO File | 1 | 58 | 78 | 144 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 8.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 10 | |
▷ Static methods | 2 | 20.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin