Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼15.51ms] Passed 4 tests
Analyzing server-side resources used by Analytics for Tickera
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.07 ▼12.65 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.97 ▼21.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.26 ▼5.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.39 ▼23.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.35 ▲0.14 |
Analytics /wp-admin/edit.php?post_type=tc_events&page=analytics-tickera | 3.02 | 26.49 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Analytics for Tickera: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 14.41 ▼0.39 | 1.64 ▼0.33 | 38.57 ▲0.39 |
Dashboard /wp-admin | 2,224 ▲27 | 5.91 ▲0.02 | 97.44 ▼10.59 | 36.46 ▼10.25 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.01 ▼0.00 | 35.12 ▼8.34 | 35.55 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,540 ▼7 | 23.46 ▲0.13 | 631.07 ▼15.14 | 72.24 ▼6.86 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.25 ▼0.02 | 99.42 ▼2.01 | 42.49 ▲1.04 |
Analytics /wp-admin/edit.php?post_type=tc_events&page=analytics-tickera | 28 | 0.44 | 0.11 | 4.36 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/analytics-tickera/analytics-tickera.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=tc_events&page=analytics-tickera
- > Network (severe)
wp-admin/edit.php?post_type=tc_events&page=analytics-tickera - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== analytics-tickera ===
) - Tags: There are too many tags (19 tag instead of maximum 10)
- Screenshots: Please add descriptions for these screenshots #1, #2 in analytics-tickera/assets to your readme.txt
analytics-tickera/analytics-tickera.php Passed 13 tests
Analyzing the main PHP file in "Analytics for Tickera" version 1.00
54 characters long description:
Shows the number of tickets sold by event and category
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 detected92 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 10 | 92 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
No PNG files were detected