Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.70ms] Passed 4 tests
Analyzing server-side resources used by Semalt SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 52.00 ▲3.90 |
Dashboard /wp-admin | 3.53 ▲0.19 | 329.39 ▲265.35 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.23 ▼1.12 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 94.14 ▲3.30 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 40.53 ▲0.71 |
Competitors /wp-admin/admin.php?page=competitors | 3.37 | 32.49 |
Pagespeed Boost /wp-admin/admin.php?page=pagespeed-boost | 3.44 | 35.58 |
Best Pages /wp-admin/admin.php?page=best-pages | 3.37 | 32.37 |
Keywords on TOP /wp-admin/admin.php?page=semalt-seo | 3.37 | 32.45 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 45 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_semalt_seo_cdn |
New WordPress options |
---|
semalt_option_cdn_auth_key |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Semalt SEO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,020 ▲249 | 14.66 ▲0.27 | 5.37 ▲3.56 | 43.87 ▲4.30 |
Dashboard /wp-admin | 2,303 ▲112 | 6.06 ▲1.17 | 116.42 ▼9.88 | 105.87 ▲62.60 |
Posts /wp-admin/edit.php | 2,145 ▲53 | 2.80 ▲0.82 | 42.73 ▲5.84 | 35.63 ▲3.50 |
Add New Post /wp-admin/post-new.php | 1,559 ▲40 | 23.87 ▲0.77 | 680.07 ▼51.29 | 38.25 ▼20.41 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 5.23 ▲1.07 | 105.35 ▼4.91 | 84.30 ▲36.37 |
Competitors /wp-admin/admin.php?page=competitors | 1,604 | 3.03 | 371.03 | 53.21 |
Pagespeed Boost /wp-admin/admin.php?page=pagespeed-boost | 963 | 2.45 | 29.40 | 28.22 |
Best Pages /wp-admin/admin.php?page=best-pages | 1,728 | 3.50 | 210.00 | 48.08 |
Keywords on TOP /wp-admin/admin.php?page=semalt-seo | 1,635 | 3.00 | 264.73 | 45.38 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/semalt-seo/admin/pages/semalt-seo-settings.php
- > /wp-content/plugins/semalt-seo/public/partials/semalt-seo-public-display.php
- > /wp-content/plugins/semalt-seo/admin/partials/semalt-seo-header.php
- > /wp-content/plugins/semalt-seo/admin/partials/semalt-seo-admin-display.php
- > /wp-content/plugins/semalt-seo/admin/pages/semalt-seo-meta-generation.php
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(SEMALT_SEO_PATHadmin/partials/semalt-seo-header.php): failed to open stream: No such file or directory in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-best-pages.php on line 10
- > PHP Warning
require_once(SEMALT_SEO_PATHadmin/partials/semalt-seo-header.php): failed to open stream: No such file or directory in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-keywords-on-top.php on line 22
- > PHP Warning
Use of undefined constant SEMALT_SEO_PATH - assumed 'SEMALT_SEO_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-best-pages.php on line 10
- > PHP Warning
Use of undefined constant SEMALT_SEO_PATH - assumed 'SEMALT_SEO_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-pagespeed-boost.php on line 3
- > PHP Warning
Use of undefined constant SEMALT_SEO_PATH - assumed 'SEMALT_SEO_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-competitors.php on line 22
- > PHP Warning
require_once(SEMALT_SEO_PATHincludes/class-semalt-seo-image-optimization.php): failed to open stream: No such file or directory in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-pagespeed-boost.php on line 3
- > PHP Warning
Use of undefined constant SEMALT_SEO_PATH - assumed 'SEMALT_SEO_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-keywords-on-top.php on line 22
- > PHP Fatal error
require_once(): Failed opening required 'SEMALT_SEO_PATHadmin/partials/semalt-seo-header.php' (include_path='.:/usr/share/php') in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-best-pages.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'SEMALT_SEO_PATHincludes/class-semalt-seo-image-optimization.php' (include_path='.:/usr/share/php') in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-pagespeed-boost.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'SEMALT_SEO_PATHadmin/partials/semalt-seo-header.php' (include_path='.:/usr/share/php') in wp-content/plugins/semalt-seo/admin/pages/semalt-seo-competitors.php on line 22
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=competitors
- > Javascript (severe) in unknown
/wp-content/plugins/semalt-seo/admin/js/semalt-seo-competitors.js?ver=1.0.4 350:56 Uncaught TypeError: Cannot read properties of null (reading 'result')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: keywords, seo, optimize images, semalt, website analytics
semalt-seo/semalt-seo.php 92% from 13 tests
The primary PHP file in "Semalt SEO" version 1.0.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 325 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected8,637 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 823 | 341 | 5,335 |
PHP | 21 | 480 | 608 | 1,827 |
CSS | 3 | 147 | 39 | 1,471 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 9 | 13.85% |
▷ Public methods | 60 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.69% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin