Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.41ms] Passed 4 tests
This is a short check of server-side resources used by Spikkl Address Lookup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.12 ▼3.91 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.07 ▼2.93 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 52.98 ▲3.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.32 ▼14.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.21 ▲0.08 |
Address Lookup /wp-admin/options-general.php?page=spikkl_address_lookup_options | 3.26 | 32.79 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Spikkl Address Lookup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲88 | 13.21 ▼0.92 | 1.78 ▼0.07 | 46.59 ▲2.20 |
Dashboard /wp-admin | 2,226 ▲38 | 5.84 ▼0.21 | 99.41 ▼16.47 | 41.04 ▼4.56 |
Posts /wp-admin/edit.php | 2,114 ▲46 | 2.15 ▲0.15 | 41.22 ▲5.54 | 35.57 ▲3.50 |
Add New Post /wp-admin/post-new.php | 1,550 ▲30 | 23.01 ▼0.04 | 603.00 ▼43.84 | 52.51 ▼0.00 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.26 ▲0.06 | 95.95 ▼4.28 | 43.96 ▼2.18 |
Address Lookup /wp-admin/options-general.php?page=spikkl_address_lookup_options | 866 | 2.18 | 24.58 | 30.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/spikkl-address-lookup/includes/admin/spikkl-admin-template.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Install the Spikkl Address Lookup using the Wordpress plugin repository.), #2 (Simple settings interface to add your Spikkl API key.), #3 (Checkout page with default WooCommerce template.)
- Tags: There are too many tags (12 tag instead of maximum 10)
spikkl-address-lookup/spikkl-address-lookup.php 85% from 13 tests
The primary PHP file in "Spikkl Address Lookup" version 1.6.8 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 252 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,016 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 192 | 91 | 581 |
JavaScript | 2 | 106 | 4 | 315 |
PO File | 1 | 27 | 4 | 67 |
CSS | 2 | 11 | 0 | 53 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 43 | |
▷ Static methods | 7 | 16.28% |
▷ Public methods | 43 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected