Benchmarks
Plugin footprint 30% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.97ms] Passed 4 tests
A check of server-side resources used by iSpam
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.84 ▼7.91 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.51 ▼2.25 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.95 ▼4.57 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.32 ▼5.15 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 37.37 ▲2.58 |
Properties /wp-admin/admin.php?page=ispam_properties | 3.26 | 30.81 |
Spam Folder /wp-admin/admin.php?page=ispam_spams | 3.26 | 40.29 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_dc_sp_log |
wp_dc_sp_spam |
New WordPress options |
---|
dc_sp_time_max |
dc_sp_database_version |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
dc_sp_custom_message |
db_upgraded |
widget_recent-comments |
dc_sp_time_delay |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for iSpam
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲56 | 13.31 ▼1.27 | 2.01 ▼0.36 | 39.66 ▼4.53 |
Dashboard /wp-admin | 2,233 ▲45 | 5.91 ▲1.02 | 104.56 ▲3.08 | 43.63 ▲0.69 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.06 ▲0.02 | 40.21 ▼1.41 | 41.54 ▲6.07 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 23.28 ▲0.11 | 666.65 ▼8.85 | 51.72 ▼1.97 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.23 ▲0.05 | 94.81 ▼9.64 | 42.31 ▼9.63 |
Properties /wp-admin/admin.php?page=ispam_properties | 876 | 2.05 | 23.44 | 23.82 |
Spam Folder /wp-admin/admin.php?page=ispam_spams | 795 | 2.02 | 24.37 | 26.23 |
Uninstaller [IO: ▲0.27MB] [DB: ▲0.00MB] 0% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Error in wp-content/plugins/ispam/ispam.php+51
Uncaught Error: Call to undefined function mysql_query() in wp-content/plugins/ispam/ispam.php:51
Stack trace:
#0 wp-includes/class-wp-hook.php(310): dc_sp_uninstall()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(1269): do_action()
#4 wp-admin/includes/plugin.php(960): uninstall_plugin() - This plugin has failed uninstalling correctly, leaving 9 files (0.27MB) in the plugin directory
- (new file) clouds/logs.php
- (new file) screenshot-1.jpg
- (new file) readme.txt
- (new file) ispam.php
- (new file) clouds/set_ini.php
- (new file) clouds/ispam_options.php
- (new file) clouds/ispam_spams.php
- (new file) clouds/api.php
- (new file) clouds/parse_class.php
- Zombie tables detected upon uninstall: 2 tables
- wp_dc_sp_log
- wp_dc_sp_spam
- This plugin did not uninstall successfully, leaving 11 options in the database
- dc_sp_database_version
- recovery_mode_email_last_sent
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- dc_sp_time_max
- dc_sp_custom_message
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- ...
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/ispam/ispam.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ispam/clouds/parse_class.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ispam/clouds/set_ini.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ispam/clouds/logs.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (iSpam) image required
ispam/ispam.php Passed 13 tests
The principal PHP file in "iSpam" v. 4.0 is loaded by WordPress automatically on each request
68 characters long description:
iSpam Plugin ist a WordPress Spamming system for Control your Spams.
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
Success! There were no dangerous files found in this plugin353 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 139 | 73 | 353 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
No PNG files were detected