Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.24ms] Passed 4 tests
Analyzing server-side resources used by SEO Friendly GA
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.92 ▼2.85 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.36 ▲0.18 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 48.66 ▼0.96 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.60 ▼5.31 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.35 ▲2.01 |
SEO Friendly GA /wp-admin/options-general.php?page=seo-friendly-ga | 3.35 | 29.90 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SEO Friendly GA
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.31 | 1.80 ▲0.31 | 45.25 ▼0.26 |
Dashboard /wp-admin | 2,193 ▲12 | 5.60 ▼0.10 | 86.25 ▼13.76 | 41.44 ▲1.76 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.13 | 39.75 ▼0.97 | 35.96 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.32 ▲0.20 | 620.30 ▼54.72 | 52.79 ▲3.62 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.00 | 101.92 ▼3.45 | 42.54 ▼3.82 |
SEO Friendly GA /wp-admin/options-general.php?page=seo-friendly-ga | 1,173 | 1.83 | 30.47 | 35.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=seo-friendly-ga
- > Network (severe)
wp-content/plugins/seo-friendly-ga/img/ga-icon-160x160.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Requires php: Invalid version format
seo-friendly-ga/seo-friendly-ga.php 92% from 13 tests
The primary PHP file in "SEO Friendly GA" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 337 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected669 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 291 | 21 | 549 |
JavaScript | 2 | 9 | 1 | 83 |
CSS | 1 | 8 | 1 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 images were found in this plugin