Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲1.04ms] Passed 4 tests
Server-side resources used by ÖWA
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.34 ▲0.14 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.72 ▲1.61 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.77 ▲3.19 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.68 ▲2.15 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.50 ▲0.24 |
ÖWA /wp-admin/admin.php?page=oewa-options | 3.23 | 29.55 |
Testing /wp-admin/admin.php?page=oewa-test-category-mapping | 3.21 | 31.42 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
oewa_options |
can_compress_scripts |
oewa_tracking_code_version |
widget_theysaidso_widget |
oewa_plugin_version |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ÖWA
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲38 | 14.78 ▲1.49 | 1.84 ▲0.08 | 42.40 ▲0.68 |
Dashboard /wp-admin | 2,227 ▲18 | 4.86 ▼0.03 | 107.59 ▲5.18 | 40.72 ▲2.76 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.04 ▲0.03 | 39.29 ▲0.32 | 34.84 ▼0.23 |
Add New Post /wp-admin/post-new.php | 6,488 ▲4,955 | 20.54 ▼2.54 | 844.75 ▲181.30 | 61.78 ▲4.35 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.38 ▲0.21 | 93.95 ▼2.69 | 47.71 ▲3.71 |
ÖWA /wp-admin/admin.php?page=oewa-options | 1,119 | 2.10 | 23.24 | 34.68 |
Testing /wp-admin/admin.php?page=oewa-test-category-mapping | 844 | 2.18 | 23.29 | 27.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/oewa/oewa.php+149
Undefined index: oewa
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- oewa_tracking_code_version
- widget_recent-posts
- oewa_options
- theysaidso_admin_options
- oewa_plugin_version
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=oewa-test-category-mapping
- > Notice in wp-content/plugins/oewa/oewa.php+694
Trying to access array offset on value of type bool
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/oewa/oewa.php:68
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: analytics, wa, tracking, seo, statistics
oewa/oewa.php Passed 13 tests
The main PHP script in "ÖWA" version 1.4.4 is automatically included on every request by WordPress
54 characters long description:
Adds the ÖWA statistics code to the website front-end
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected536 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 166 | 322 | 536 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 84.00 |
▷ Minimum class complexity | 84.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 74.19% |
▷ Protected methods | 8 | 25.81% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot.png | 69.88KB | 34.72KB | ▼ 50.31% |