Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.22ms] Passed 4 tests
Analyzing server-side resources used by TimerCampaign
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.54 ▲4.77 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.26 ▼1.96 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 55.76 ▲7.92 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.30 ▼6.48 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.74 ▼1.21 |
/wp-admin/options-general.php?page=timercampaign-options | 3.19 | 28.27 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TimerCampaign
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 13.29 ▼1.13 | 4.30 ▲2.22 | 43.27 ▼0.57 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼0.04 | 108.19 ▲8.91 | 39.35 ▼5.08 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.02 | 41.56 ▲0.06 | 38.36 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,516 ▼17 | 17.75 ▼5.23 | 654.58 ▼32.82 | 54.88 ▼7.92 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.21 ▼0.12 | 98.47 ▼16.11 | 41.44 ▼10.38 |
/wp-admin/options-general.php?page=timercampaign-options | 1,962 | 2.83 | 33.29 | 33.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=timercampaign-options
- > Notice in wp-content/plugins/timercampaign/admin/timercampaign.php+21
Undefined index: disconnect
- > GET request to /wp-admin/options-general.php?page=timercampaign-options
- > Notice in wp-content/plugins/timercampaign/admin/timercampaign.php+28
Undefined index: js
- > GET request to /wp-admin/options-general.php?page=timercampaign-options
- > Notice in wp-content/plugins/timercampaign/admin/timercampaign.php+32
Undefined index: user_id
- > GET request to /wp-admin/options-general.php?page=timercampaign-options
- > Notice in wp-content/plugins/timercampaign/admin/timercampaign.php+36
Undefined index: email
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 fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timercampaign/admin/timercampaign.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timercampaign/admin/timercampaign.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== timercampaign ===
)
timercampaign/timercampaign.php Passed 13 tests
This is the main PHP file of "TimerCampaign" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
34 characters long description:
Wordpress plugin for TimerCampaign
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected86 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 15 | 86 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin