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.14MB] [CPU: ▼4.68ms] Passed 4 tests
A check of server-side resources used by Refined Practice - Simple Analytics Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.37 ▼0.04 |
Dashboard /wp-admin | 3.46 ▲0.15 | 47.92 ▼3.09 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 47.98 ▼2.98 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 92.39 ▼12.61 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 39.37 ▲4.65 |
RP Simple Analytics /wp-admin/options-general.php?page=rp-simple-analytics | 3.35 | 33.33 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
rpsa_dashboard_widget |
rpsa_events_extra_js |
can_compress_scripts |
rpsa_block_logged_in_users |
theysaidso_admin_options |
widget_theysaidso_widget |
rpsa_block_at_capability |
widget_recent-posts |
rpsa_events |
... |
Browser metrics Passed 4 tests
Refined Practice - Simple Analytics Integration: 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,878 ▲143 | 14.37 ▼0.02 | 1.78 ▼0.31 | 44.68 ▼1.83 |
Dashboard /wp-admin | 2,255 ▲67 | 5.97 ▲0.07 | 155.21 ▲46.18 | 40.11 ▲0.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.05 | 41.30 ▼1.30 | 37.36 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,540 ▲11 | 23.13 ▲5.01 | 666.99 ▲23.21 | 52.78 ▲1.58 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.01 | 102.30 ▲1.75 | 45.80 ▼0.05 |
RP Simple Analytics /wp-admin/options-general.php?page=rp-simple-analytics | 1,067 | 3.68 | 94.19 | 54.95 |
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 12 options in the database
- rpsa_events
- widget_theysaidso_widget
- widget_recent-posts
- rpsa_dashboard_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- rpsa_block_logged_in_users
- rpsa_events_extra_js
- rpsa_events_jquery
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% 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:
- Donate link: Invalid URI ("")
rp-simple-analytics/rp-simple-analytics.php Passed 13 tests
The main PHP file in "Refined Practice - Simple Analytics Integration" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
97 characters long description:
Embeds the Simple Analytics privacy friendly analytics service (see https://simpleanalytics.com/)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected783 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 220 | 812 | 667 |
JavaScript | 1 | 24 | 14 | 116 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 46 | 88.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 11.54% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin