Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.09ms] Passed 4 tests
Server-side resources used by Oppso Unit Converter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.44 ▲3.65 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.26 ▼2.96 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.91 ▼4.05 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 96.65 ▲0.59 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.62 ▲2.07 |
Oppso Unit Converter /wp-admin/options-general.php?page=oppso-unit-converter/oppso-unit-converter.php | 3.22 | 28.39 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Oppso Unit Converter
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲118 | 13.51 ▼0.85 | 10.27 ▲7.77 | 43.93 ▲2.08 |
Dashboard /wp-admin | 2,199 ▲28 | 5.62 ▼0.04 | 93.28 ▲0.84 | 40.95 ▼0.77 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.04 | 40.84 ▲5.10 | 36.00 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.20 ▲0.02 | 677.59 ▼2.58 | 53.91 ▲2.49 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.01 | 101.74 ▲5.20 | 42.94 ▼0.34 |
Oppso Unit Converter /wp-admin/options-general.php?page=oppso-unit-converter/oppso-unit-converter.php | 851 | 2.02 | 29.37 | 29.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=oppso-unit-converter/oppso-unit-converter.php
- > Notice in wp-content/plugins/oppso-unit-converter/oppso-unit-converter.php+326
Undefined variable: show
- > GET request to /wp-admin/options-general.php?page=oppso-unit-converter/oppso-unit-converter.php
- > Notice in wp-content/plugins/oppso-unit-converter/oppso-unit-converter.php+364
Undefined variable: convert_options
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/oppso-unit-converter/oppso-unit-converter.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: weight converter, unit converter, distance converter, temperature converter, speed converter...
oppso-unit-converter/oppso-unit-converter.php 92% from 13 tests
The entry point to "Oppso Unit Converter" version 1.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)
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 detected206 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 7 | 162 |
CSS | 1 | 2 | 0 | 43 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/oppso_logo.png | 3.05KB | 2.38KB | ▼ 21.96% |