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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.07MB] [CPU: ▼10.99ms] Passed 4 tests
Server-side resources used by Address Geocoder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.61 ▲0.84 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.09 ▲0.27 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.49 ▼1.67 |
Add New Post /wp-admin/post-new.php | 5.48 ▼0.41 | 67.03 ▼43.39 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 42.03 ▲8.95 |
Address Geocoder /wp-admin/options-general.php?page=address-geocoder-options | 3.24 | 31.58 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Address Geocoder: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.23 ▲0.01 | 1.75 ▲0.23 | 43.66 ▲2.12 |
Dashboard /wp-admin | 2,199 ▲18 | 5.55 ▼0.18 | 85.12 ▼13.18 | 38.32 ▼5.86 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.02 | 33.44 ▼0.40 | 33.61 ▼0.81 |
Add New Post /wp-admin/post-new.php | 6,227 ▲4,701 | 25.96 ▲3.00 | 885.66 ▲271.12 | 48.69 ▲0.37 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.22 ▼0.00 | 98.75 ▼2.71 | 41.28 ▼0.32 |
Address Geocoder /wp-admin/options-general.php?page=address-geocoder-options | 938 | 1.99 | 22.88 | 25.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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
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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/address-geocoder/address-geocoder.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (The meta box before clicking "Geocode"), #2 (The meta box after clicking "Geocode"), #3 (The settings page)
address-geocoder/address-geocoder.php Passed 13 tests
The primary PHP file in "Address Geocoder" version 1.0.1 is used by WordPress to initiate all plugin functionality
36 characters long description:
Attach location information to posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected230 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 46 | 172 |
JavaScript | 1 | 12 | 3 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.14MB with 0.11MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 67.07KB | 24.93KB | ▼ 62.83% |
screenshot-1.png | 33.43KB | 13.32KB | ▼ 60.14% |
(invalid) screenshot-3.png | 45.06KB | 0.00KB | ▼ 100.00% |