Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.98ms] Passed 4 tests
Server-side resources used by On Page SEO + Social Live Chat (Formerly OPS)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.14 ▼5.69 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.28 ▼0.22 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.87 ▼2.44 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.68 ▼3.58 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.98 ▲6.13 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- Illegal file modification detected: 1 file (0.88KB) outside of "wp-content/plugins/ops-robots-txt/" and "wp-content/uploads/"
- (new file) robots.txt
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for On Page SEO + Social Live Chat (Formerly OPS)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲130 | 13.77 ▼0.49 | 1.85 ▼0.05 | 38.21 ▼12.11 |
Dashboard /wp-admin | 2,227 ▲42 | 5.23 ▲0.36 | 105.96 ▲0.33 | 34.22 ▼10.96 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.64 ▲0.62 | 39.89 ▲0.93 | 31.18 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,697 ▲183 | 25.35 ▲7.84 | 603.02 ▼93.31 | 51.25 ▼3.95 |
Media Library /wp-admin/upload.php | 1,479 ▲88 | 4.46 ▲0.28 | 98.57 ▼3.93 | 40.93 ▼2.70 |
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
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/ops-robots-txt/uninstall.php
- > /wp-content/plugins/ops-robots-txt/settings.php
- > /wp-content/plugins/ops-robots-txt/ops.php
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 83% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- License uri: Please fix this invalid URI: "http: //www.gnu.org/licenses/gpl-2.0.html"
- Tags: There are too many tags (15 tag instead of maximum 10)
ops-robots-txt/ops.php 77% from 13 tests
The main PHP file in "On Page SEO + Social Live Chat (Formerly OPS)" ver. 1.1.6 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path is invalid: folder "/i18n/" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("ops-robots-txt.php" instead of "ops.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 375 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
Good job! No executable or dangerous file extensions detected598 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 33 | 63 | 489 |
CSS | 3 | 8 | 9 | 95 |
JavaScript | 3 | 0 | 13 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ninja.png | 5.82KB | 3.10KB | ▼ 46.69% |
assets/images/whatsapp.png | 2.76KB | 2.08KB | ▼ 24.66% |
assets/images/logo-seo.png | 9.96KB | 4.68KB | ▼ 52.95% |
assets/images/icon-128x128.png | 9.96KB | 4.68KB | ▼ 52.95% |