Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/automotive-feed-import/automotive-feed-import.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; AutomotiveFeedImport has a deprecated constructor
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.13ms] Passed 4 tests
This is a short check of server-side resources used by Automotive Feed Importer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.86 ▼4.77 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.96 ▼7.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.95 ▼0.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.65 ▼8.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.42 ▲0.58 |
Server storage [IO: ▲0.15MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Automotive Feed Importer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.13 ▼1.25 | 1.55 ▼0.19 | 42.99 ▼3.32 |
Dashboard /wp-admin | 2,200 ▲12 | 5.81 ▼0.09 | 101.55 ▼13.84 | 39.29 ▼1.96 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▼0.03 | 40.54 ▼0.18 | 34.28 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.46 ▼4.72 | 604.31 ▼83.14 | 64.24 ▲5.69 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.25 ▲0.00 | 99.35 ▲3.06 | 41.09 ▼5.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/automotive-feed-import/automotive-feed-import.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: import, automotiv, feed, vehicle, auto...
automotive-feed-import/automotive-feed-import.php 92% from 13 tests
Analyzing the main PHP file in "Automotive Feed Importer" version 0.1
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 214 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin506 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 1 | 1 | 1 | 329 |
PHP | 1 | 54 | 93 | 177 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/snapshot.png | 116.19KB | 38.55KB | ▼ 66.82% |