Benchmarks
Plugin footprint 83% 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.06MB] [CPU: ▼6.37ms] Passed 4 tests
This is a short check of server-side resources used by Plagiarism Checker By SST
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.77 ▼6.07 |
Dashboard /wp-admin | 3.37 ▲0.07 | 57.66 ▲7.46 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 50.12 ▲0.57 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 73.54 ▼21.63 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.90 ▲1.67 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
smallseotools_acckey |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Plagiarism Checker By SST
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲86 | 14.36 ▲0.00 | 1.92 ▲0.09 | 35.32 ▼10.37 |
Dashboard /wp-admin | 2,238 ▲58 | 5.60 ▲0.04 | 84.36 ▼9.90 | 101.41 ▲60.00 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.07 ▲0.08 | 37.70 ▲0.18 | 51.73 ▲15.14 |
Add New Post /wp-admin/post-new.php | 6,568 ▲5,042 | 28.37 ▲4.85 | 969.25 ▲270.95 | 70.93 ▲11.37 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.27 ▲0.06 | 102.22 ▼7.77 | 95.75 ▲48.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/plagiarism-checker-by-sst/settingPage.php
- > /wp-content/plugins/plagiarism-checker-by-sst/lib/checkstatus.php
- > /wp-content/plugins/plagiarism-checker-by-sst/actions.php
- > /wp-content/plugins/plagiarism-checker-by-sst/lib/checkPlag.php
- > /wp-content/plugins/plagiarism-checker-by-sst/lib/sst_b_s.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/plagiarism-checker-by-sst/plagiarism-checker-by-sst.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 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: check plagiarism, plagiarism, plagiarism checker
plagiarism-checker-by-sst/plagiarism-checker-by-sst.php 92% from 13 tests
The main PHP file in "Plagiarism Checker By SST" ver. 2.1.4 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 260 characters long)
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
Everything looks great! No dangerous files found in this plugin3,179 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 84 | 48 | 1,450 |
CSS | 5 | 154 | 25 | 1,154 |
PHP | 6 | 17 | 32 | 502 |
HTML | 1 | 18 | 0 | 50 |
SVG | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 6 | |
▷ Static methods | 4 | 66.67% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
21 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/sst-file.png | 0.48KB | 0.24KB | ▼ 50.61% |
imgs/bullet_arrow_down.png | 0.28KB | 0.17KB | ▼ 36.75% |
imgs/tick.png | 0.44KB | 0.40KB | ▼ 9.31% |
imgs/bullet_arrow_up.png | 0.26KB | 0.17KB | ▼ 33.46% |
imgs/cancel.png | 0.25KB | 0.19KB | ▼ 24.42% |