Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.47ms] Passed 4 tests
Analyzing server-side resources used by Check Plagiarism
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.98 ▼5.22 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.67 ▼5.55 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 50.42 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.19 ▼7.96 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 38.35 ▲2.27 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_plugin_users |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
jal_db_version |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Check Plagiarism
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.20 ▼1.20 | 1.73 ▼0.12 | 39.32 ▼5.01 |
Dashboard /wp-admin | 2,245 ▲56 | 4.95 ▼0.02 | 96.33 ▼24.26 | 67.41 ▲18.82 |
Posts /wp-admin/edit.php | 2,169 ▲80 | 2.23 ▲0.18 | 44.81 ▲7.09 | 35.89 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,557 ▲20 | 18.53 ▼4.91 | 660.02 ▼33.06 | 57.29 ▼4.36 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.25 ▲0.03 | 98.19 ▼16.66 | 79.32 ▲31.63 |
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
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- jal_db_version
- widget_recent-comments
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/check-plagiarism/index.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
check-plagiarism/index.php 85% from 13 tests
The main PHP file in "Check Plagiarism" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 219 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("check-plagiarism.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected701 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 104 | 19 | 659 |
HTML | 2 | 1 | 0 | 22 |
JavaScript | 2 | 1 | 1 | 19 |
CSS | 1 | 0 | 2 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.31MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 53.39KB | 26.48KB | ▼ 50.40% |
assets/screenshot-1.png | 25.09KB | 12.87KB | ▼ 48.69% |
assets/screenshot-2.png | 42.60KB | 21.43KB | ▼ 49.70% |
assets/screenshot-4.png | 73.12KB | 31.16KB | ▼ 57.38% |
assets/banner-772x250.png | 127.79KB | 39.87KB | ▼ 68.80% |