Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.46ms] Passed 4 tests
An overview of server-side resources used by Our Seo
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 24.41 ▼11.18 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.77 ▼16.39 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.76 ▼1.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.53 ▼4.43 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.60 ▲5.05 |
Server storage [IO: ▲7.25MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- The plugin illegally modified 1 file (0.64KB) outside of "wp-content/plugins/ourwebseo/" and "wp-content/uploads/"
- (new file) sitemap.xml
Filesystem: 79 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
ourwebseo_opts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Our Seo
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,481 ▼280 | 14.23 ▼0.05 | 0.75 ▼0.74 | 15.09 ▼20.78 |
Dashboard /wp-admin | 2,211 ▲34 | 5.51 ▼0.14 | 92.08 ▼7.34 | 36.11 ▼11.97 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.02 ▲0.03 | 39.69 ▲1.05 | 35.68 ▼4.74 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.18 ▲0.17 | 668.67 ▲33.18 | 69.15 ▲21.76 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.21 ▲0.05 | 98.94 ▲1.17 | 45.38 ▲3.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function '`ourwebseo_deactivation' not found or invalid function name
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- ourwebseo_opts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ourwebseo/ourwebseo.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
include(ourwebseo_SEO_URL/our_sitemap.php): failed to open stream: No such file or directory in wp-content/plugins/ourwebseo/inc/cron.php on line 8
- > PHP Warning
Use of undefined constant ourwebseo_SEO_URL - assumed 'ourwebseo_SEO_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/ourwebseo/inc/cron.php on line 8
- > PHP Warning
include(): Failed opening 'ourwebseo_SEO_URL/our_sitemap.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/ourwebseo/inc/cron.php on line 8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: search engine, seo, sitemap
ourwebseo/ourwebseo.php Passed 13 tests
The main PHP file in "Our Seo" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
31 characters long description:
A simple SEO plugin and sitemap
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
There were no executable files found in this plugin47,721 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 8,157 | 140 | 35,206 |
JavaScript | 10 | 3,593 | 1,663 | 12,150 |
PHP | 11 | 50 | 81 | 206 |
XML | 6 | 0 | 0 | 148 |
JSON | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 66.67% |
▷ Protected methods | 1 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin