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 gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▲1.63ms] Passed 4 tests
Analyzing server-side resources used by WEN Call To Action
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 47.63 ▲2.93 |
Dashboard /wp-admin | 3.44 ▲0.14 | 53.47 ▲2.87 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 51.89 ▲0.93 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 141.41 ▲40.57 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 38.64 ▼0.22 |
All Call To Actions /wp-admin/edit.php?post_type=wen_cta | 3.41 | 42.54 |
Add New /wp-admin/post-new.php?post_type=wen_cta | 3.48 | 57.10 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WEN Call To Action
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲32 | 13.16 ▼1.19 | 1.87 ▼0.06 | 42.34 ▼1.88 |
Dashboard /wp-admin | 2,233 ▲24 | 5.85 ▲1.06 | 112.65 ▲1.80 | 41.35 ▼0.91 |
Posts /wp-admin/edit.php | 2,116 ▲30 | 2.00 ▼0.06 | 40.58 ▲4.26 | 34.38 ▲2.87 |
Add New Post /wp-admin/post-new.php | 1,559 ▲25 | 22.94 ▼0.07 | 658.11 ▼42.09 | 49.78 ▼5.79 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.27 ▲0.06 | 96.35 ▼16.45 | 42.22 ▼6.59 |
All Call To Actions /wp-admin/edit.php?post_type=wen_cta | 1,096 | 2.00 | 30.70 | 31.55 |
Add New /wp-admin/post-new.php?post_type=wen_cta | 2,440 | 7.52 | 177.38 | 84.63 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wen-call-to-action/wen-call-to-action.php Passed 13 tests
The principal PHP file in "WEN Call To Action" v. 1.4.2 is loaded by WordPress automatically on each request
53 characters long description:
Easily create call to action for your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected587 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 209 | 625 | 517 |
CSS | 4 | 4 | 10 | 70 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 32 | 82.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 17.95% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected