Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼5.45ms] Passed 4 tests
An overview of server-side resources used by SEO Pyramid
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.29 | 37.93 ▼3.83 |
Dashboard /wp-admin | 3.67 ▲0.37 | 46.77 ▲0.92 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 49.37 ▼1.40 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.33 | 88.45 ▼17.47 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 37.03 ▲1.38 |
SEO Pyramid /wp-admin/options-general.php?page=seo-pyramid | 3.50 | 31.61 |
Server storage [IO: ▲0.21MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SEO Pyramid
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.44 ▼1.32 | 1.75 ▼0.08 | 38.83 ▼8.50 |
Dashboard /wp-admin | 2,236 ▲48 | 5.20 ▼0.70 | 113.50 ▲9.88 | 66.81 ▲22.67 |
Posts /wp-admin/edit.php | 2,155 ▲63 | 2.03 ▼0.02 | 44.30 ▲2.06 | 48.19 ▲12.23 |
Add New Post /wp-admin/post-new.php | 6,790 ▲5,248 | 22.74 ▲4.28 | 892.39 ▲283.44 | 78.94 ▲29.72 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.26 ▲0.00 | 98.51 ▲0.48 | 57.51 ▲17.53 |
SEO Pyramid /wp-admin/options-general.php?page=seo-pyramid | 980 | 2.22 | 27.66 | 37.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
The following issues need your attention
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/seo-pyramid/builders/forbidden-languages.php
- > /wp-content/plugins/seo-pyramid/builders/sitemap.php
- > /wp-content/plugins/seo-pyramid/builders/seo_pyramid_analyzer.php
- > /wp-content/plugins/seo-pyramid/head_tags.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/seo-pyramid/parts/settings-navigation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seo-pyramid/pages/reports-page.php:157
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/seo-pyramid/builders/shared-analyzer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/seo-pyramid/builders/status.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-pyramid/seo_pyramid_functions.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-pyramid/builders/schema.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seo-pyramid/pages/schema-page.php:356
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seo-pyramid/pages/sitemap-page.php:240
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-pyramid/pages/general-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-pyramid/seo_pyramid_form.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (screenshot-1.PNG)
seo-pyramid/index.php 92% from 13 tests
This is the main PHP file of "SEO Pyramid" version 1.9.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("seo-pyramid.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin4,341 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 2,478 | 192 | 2,675 |
CSS | 1 | 10 | 34 | 1,133 |
JavaScript | 1 | 212 | 30 | 533 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 13.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 78 | 98.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.27% |
Functions | 18 | |
▷ Named functions | 18 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/yandex-icon.png | 0.67KB | 0.53KB | ▼ 21.88% |
img/bing-icon.png | 2.91KB | 1.57KB | ▼ 46.21% |
img/yandex-globe.png | 0.69KB | 0.58KB | ▼ 16.38% |
img/yandex-lock.png | 0.26KB | 0.19KB | ▼ 27.10% |
img/google-icon.png | 2.07KB | 1.46KB | ▼ 29.35% |