Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.91ms] Passed 4 tests
Server-side resources used by AC STOP Content Copier
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.08 | 46.67 ▼0.93 |
Dashboard /wp-admin | 3.68 ▲0.05 | 60.91 ▼8.15 |
Posts /wp-admin/edit.php | 3.78 ▲0.10 | 55.34 ▲3.24 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.22 | 91.53 ▼15.67 |
Media Library /wp-admin/upload.php | 3.62 ▲0.13 | 40.29 ▲1.12 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_acbdlog |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
acbd_captcha_page |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
AC STOP Content Copier: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.38 ▲0.08 | 1.83 ▼0.01 | 41.57 ▼1.71 |
Dashboard /wp-admin | 2,200 ▲20 | 5.70 ▲0.04 | 89.32 ▼4.71 | 74.79 ▲29.02 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 2.14 ▲0.13 | 39.09 ▲1.76 | 35.95 ▲0.80 |
Add New Post /wp-admin/post-new.php | 1,546 ▲1 | 23.04 ▼0.16 | 654.28 ▼24.03 | 51.02 ▼2.07 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.20 ▼0.07 | 101.04 ▼0.99 | 66.86 ▲20.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
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_acbdlog
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- acbd_captcha_page
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ac-stop-content-copier/inc/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ac-stop-content-copier/ac-stop-content-stealers.php:38
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/ac-stop-content-copier/ac-stop-content-stealers.php on line 32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Requires at least: Version not formatted correctly
- Screenshots: Screenshot #1 (Plugin setting Page.) image required
ac-stop-content-copier/ac-stop-content-stealers.php 92% from 13 tests
The primary PHP file in "AC STOP Content Copier" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ac-stop-content-copier.php" instead of "ac-stop-content-stealers.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected371 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 130 | 69 | 351 |
CSS | 1 | 2 | 0 | 20 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
simple-php-captcha-master/backgrounds/white-wave.png | 1.25KB | 0.42KB | ▼ 66.59% |
static/plugin-icon.png | 0.62KB | 0.50KB | ▼ 18.61% |
simple-php-captcha-master/backgrounds/stitched-wool.png | 1.05KB | 0.21KB | ▼ 80.21% |
simple-php-captcha-master/backgrounds/cloth-alike.png | 3.51KB | 2.67KB | ▼ 23.79% |
simple-php-captcha-master/backgrounds/white-carbon.png | 1.04KB | 0.18KB | ▼ 83.18% |