Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.03ms] Passed 4 tests
This is a short check of server-side resources used by TFM Google Product Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.91 ▼8.48 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.62 ▼3.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.51 ▲2.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.42 ▼10.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.30 ▲5.03 |
Server storage [IO: ▲8.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for TFM Google Product Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.22 ▼0.13 | 1.72 ▼0.10 | 41.08 ▼4.81 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.04 | 87.13 ▼1.36 | 40.13 ▼2.57 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.05 | 40.01 ▲2.16 | 34.46 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.24 ▼4.79 | 633.89 ▼50.38 | 70.79 ▲22.17 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.27 ▼0.05 | 98.19 ▼9.69 | 43.14 ▼2.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: themesforme, themes for me, google shopping, google merchants, xml feed...
tfm-google-product-feed/tfm-google-product-feed.php Passed 13 tests
The main PHP file in "TFM Google Product Feed" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
Google Product Feed for Google Merchants integration
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
There were no executable files found in this plugin343 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 95 | 115 | 319 |
XML | 2 | 2 | 0 | 24 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 15 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 37.50% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected