Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.73MB] [CPU: ▼0.44ms] Passed 4 tests
An overview of server-side resources used by Elevate SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.25 ▲0.79 | 53.51 ▲7.10 |
Dashboard /wp-admin | 4.06 ▲0.75 | 61.76 ▲3.90 |
Posts /wp-admin/edit.php | 4.11 ▲0.75 | 58.06 ▲4.02 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 94.69 ▼11.53 |
Media Library /wp-admin/upload.php | 3.99 ▲0.75 | 50.55 ▲1.83 |
Performance /wp-admin/admin.php?page=elevate_performance | 3.09 | 10.13 |
Sitemap /wp-admin/admin.php?page=elevate_sitemap | 3.09 | 10.93 |
Social Media /wp-admin/admin.php?page=elevate_social | 3.09 | 10.09 |
General /wp-admin/admin.php?page=elevate_general | 3.09 | 12.00 |
Search /wp-admin/admin.php?page=elevate_search | 3.09 | 12.27 |
Get Started /wp-admin/admin.php?page=elevate_plugin | 3.09 | 10.09 |
Redirects /wp-admin/admin.php?page=elevate_redirects | 3.09 | 12.08 |
Server storage [IO: ▲23.33MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 186 new files
Database: 5 new tables, 10 new options
New tables |
---|
wp_elevate_redirects |
wp_elevate_speed |
wp_elevate_404 |
wp_elevate_search |
wp_elevate_visits |
New WordPress options |
---|
widget_theysaidso_widget |
elevate_cron_set_by |
widget_recent-posts |
elevate_last_version_check |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
elevate_db_version |
category_children |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elevate SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 14.28 ▼0.07 | 2.02 ▲0.04 | 43.29 ▼1.43 |
Dashboard /wp-admin | 2,257 ▲80 | 5.50 ▼0.08 | 99.95 ▼2.98 | 43.10 ▼2.03 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.02 ▲0.05 | 36.49 ▼0.62 | 34.50 ▲0.40 |
Add New Post /wp-admin/post-new.php | 6,746 ▲5,220 | 29.75 ▲6.73 | 995.55 ▲283.48 | 84.77 ▲23.59 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.15 ▼0.00 | 100.22 ▼15.78 | 46.37 ▼6.89 |
Performance /wp-admin/admin.php?page=elevate_performance | 911 | 3.23 | 50.18 | 37.88 |
Sitemap /wp-admin/admin.php?page=elevate_sitemap | 906 | 2.67 | 35.64 | 27.25 |
Social Media /wp-admin/admin.php?page=elevate_social | 1,044 | 3.19 | 38.51 | 34.52 |
General /wp-admin/admin.php?page=elevate_general | 1,015 | 3.54 | 40.08 | 38.32 |
Search /wp-admin/admin.php?page=elevate_search | 1,062 | 3.40 | 43.52 | 29.38 |
Get Started /wp-admin/admin.php?page=elevate_plugin | 1,988 | 3.44 | 49.04 | 47.05 |
Redirects /wp-admin/admin.php?page=elevate_redirects | 914 | 3.07 | 39.80 | 31.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/elevate-seo/src/elevate-class.php+658
Function get_magic_quotes_gpc() is deprecated
- The uninstall procedure failed, leaving 5 tables in the database
- wp_elevate_404
- wp_elevate_redirects
- wp_elevate_visits
- wp_elevate_search
- wp_elevate_speed
- Zombie WordPress options were found after uninstall: 9 options
- category_children
- theysaidso_admin_options
- elevate_last_version_check
- db_upgraded
- elevate_db_version
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=elevate_redirects
- > Deprecated in wp-content/plugins/elevate-seo/src/elevate-class.php+658
Function get_magic_quotes_gpc() is deprecated
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=elevate_plugin
- > Notice in wp-content/plugins/elevate-seo/src/apache.php+27
Undefined variable: apache_instance
SRP 0% 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/elevate-seo/admin/settings/spacer.php
- 28× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ElevateSettingsPage' not found in wp-content/plugins/elevate-seo/admin/pages/general.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/elevate-seo/admin/pages/wizard.php:4
- > PHP Fatal error
Uncaught Error: Class 'ElevateSettingsPage' not found in wp-content/plugins/elevate-seo/admin/pages/google.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elevate-seo/admin/settings/checkbox.php:1
- > PHP Warning
Use of undefined constant HOUR_IN_SECONDS - assumed 'HOUR_IN_SECONDS' (this will throw an Error in a future version of PHP) in wp-content/plugins/elevate-seo/src/local-cache.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'ElevatePlugin' not found in wp-content/plugins/elevate-seo/admin/meta/titles.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elevate-seo/admin/settings/select.php:1
- > PHP Warning
Use of undefined constant ELEVATE_PLUGIN_URL - assumed 'ELEVATE_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/elevate-seo/src/config.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elevate-seo/admin/settings/tooltip.php:1
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/elevate-seo/src/local-cache.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: sitemap, seo, woocommerce, google, pagespeed
elevate-seo/elevate-seo.php Passed 13 tests
The primary PHP file in "Elevate SEO" version 1.4.4 is used by WordPress to initiate all plugin functionality
59 characters long description:
Search Engine Optimization and Performance Monitoring Suite
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
Success! There were no dangerous files found in this plugin121,339 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 18,089 | 17,822 | 88,768 |
CSS | 15 | 3,603 | 115 | 13,324 |
SVG | 6 | 0 | 12 | 5,688 |
PO File | 5 | 1,790 | 1,969 | 5,588 |
PHP | 48 | 1,444 | 505 | 5,242 |
Sass | 6 | 462 | 0 | 2,527 |
Stylus | 1 | 23 | 6 | 98 |
SQL | 5 | 0 | 0 | 47 |
JSON | 1 | 0 | 0 | 40 |
Markdown | 2 | 10 | 0 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 23.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 466.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 1 | 3.33% |
▷ Concrete classes | 29 | 96.67% |
▷ Final classes | 0 | 0.00% |
Methods | 277 | |
▷ Static methods | 21 | 7.58% |
▷ Public methods | 194 | 70.04% |
▷ Protected methods | 9 | 3.25% |
▷ Private methods | 74 | 26.71% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 40 | |
▷ Global constants | 37 | 92.50% |
▷ Class constants | 3 | 7.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.19MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/line1.png | 4.84KB | 0.11KB | ▼ 97.72% |
assets/images/line2.png | 4.86KB | 0.11KB | ▼ 97.73% |
dist/images/map.png | 98.14KB | 41.40KB | ▼ 57.81% |
dist/images/bing.png | 1.80KB | 1.45KB | ▼ 19.16% |
dist/images/line2.png | 0.25KB | 0.11KB | ▼ 55.34% |