Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.53ms] Passed 4 tests
This is a short check of server-side resources used by Plagiarism Checker - Plagibot
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.07 ▼0.05 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.09 ▼6.51 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.23 ▲3.41 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 89.63 ▲1.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.21 ▲5.55 |
Plagibot /wp-admin/options-general.php?page=plagibot-settings | 3.26 | 29.66 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
plagibot_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Plagiarism Checker - Plagibot
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 14.36 ▲0.00 | 1.60 ▼0.40 | 41.60 ▼2.05 |
Dashboard /wp-admin | 2,218 ▲57 | 5.63 ▲0.04 | 89.84 ▼10.70 | 43.38 ▲4.69 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▼0.18 | 40.35 ▲2.32 | 37.61 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.07 ▼0.70 | 673.44 ▼18.86 | 56.88 ▼4.92 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.24 ▲0.01 | 97.38 ▼15.73 | 42.87 ▼4.60 |
Plagibot /wp-admin/options-general.php?page=plagibot-settings | 846 | 1.99 | 25.43 | 28.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- plagibot_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/plagibot-plagiarism-checker/include/pages/plagibot_settings.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=plagibot-settings
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=plagibot-settings 180:26 Uncaught TypeError: jQuery(...).chosen is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: plagiarism detector, plagibot, plagiarism checker, duplicate checker
plagibot-plagiarism-checker/plagibot.php 77% from 13 tests
This is the main PHP file of "Plagiarism Checker - Plagibot" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.8" instead of "5.0")
- Main file name: Name the main plugin file the same as the plugin slug ("plagibot-plagiarism-checker.php" instead of "plagibot.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin1,150 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 28 | 26 | 691 |
PHP | 6 | 215 | 30 | 391 |
JavaScript | 5 | 13 | 16 | 68 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.53% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/upload-icon.png | 2.20KB | 1.52KB | ▼ 31.01% |
assets/img/plagibot-icon.png | 10.48KB | 5.80KB | ▼ 44.68% |
assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/img/download-1.png | 2.20KB | 0.75KB | ▼ 66.13% |
assets/css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |