Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PCPPS_WP_AhmadSeo::pcpps_wpa_install() should not be called statically
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.82ms] Passed 4 tests
Server-side resources used by Free Online Plagiarism Checker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.34 ▼1.31 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.40 ▼3.59 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 46.93 ▼1.13 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 87.50 ▼17.23 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.29 ▲2.67 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 75 new files
Database: no new tables, 9 new options
New WordPress options |
---|
prepostseo_version |
can_compress_scripts |
prepostseo_acckey |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
prepostseo_action_site |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Free Online Plagiarism Checker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.63 ▼0.75 | 1.85 ▲0.02 | 35.90 ▼9.90 |
Dashboard /wp-admin | 2,272 ▲84 | 4.97 ▲0.11 | 101.96 ▼15.45 | 92.20 ▲44.04 |
Posts /wp-admin/edit.php | 2,153 ▲64 | 2.06 ▲0.06 | 42.01 ▲6.01 | 51.93 ▲15.51 |
Add New Post /wp-admin/post-new.php | 6,378 ▲4,836 | 21.94 ▲3.82 | 931.37 ▲289.52 | 45.06 ▼9.66 |
Media Library /wp-admin/upload.php | 1,452 ▲61 | 4.21 ▲0.00 | 99.25 ▲1.77 | 87.86 ▲44.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- prepostseo_action_site
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- prepostseo_acckey
- widget_recent-posts
- prepostseo_version
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
Even though everything seems fine, this is not an exhaustive test
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
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/free-online-plagiarism-checker/settingPage.php
- > /wp-content/plugins/free-online-plagiarism-checker/lib/checkPlag.php
- > /wp-content/plugins/free-online-plagiarism-checker/lib/checkstatus.php
- > /wp-content/plugins/free-online-plagiarism-checker/actions.php
- > /wp-content/plugins/free-online-plagiarism-checker/index.php
- > /wp-content/plugins/free-online-plagiarism-checker/lib/simple_html_dom.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/free-online-plagiarism-checker/free-online-plagiarism-checker.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: seo, plagiarism checker, post, plagiarism, admin...
free-online-plagiarism-checker/free-online-plagiarism-checker.php 92% from 13 tests
The main PHP file in "Free Online Plagiarism Checker" ver. 2.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected7,797 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 150 | 37 | 3,137 |
LESS | 13 | 28 | 34 | 1,510 |
PHP | 7 | 318 | 239 | 1,484 |
JavaScript | 5 | 142 | 41 | 953 |
SVG | 2 | 0 | 0 | 663 |
HTML | 1 | 18 | 0 | 50 |
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.45 |
Average class complexity | 96.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 65 | 80.25% |
▷ Protected methods | 16 | 19.75% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 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
20 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/warning_b.png | 1.15KB | 1.22KB | 0.00% |
imgs/icon-2.png | 0.83KB | 0.84KB | 0.00% |
imgs/bullet_arrow_up.png | 0.26KB | 0.17KB | ▼ 33.46% |
imgs/logo.png | 0.27KB | 0.27KB | 0.00% |
imgs/Danger.png | 0.88KB | 0.84KB | ▼ 3.79% |