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.03MB] [CPU: ▼5.64ms] Passed 4 tests
An overview of server-side resources used by C4D WP Popup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.93 ▼2.24 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.30 ▼2.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.06 ▼2.55 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 87.54 ▼15.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 40.54 ▲3.69 |
Add New /wp-admin/post-new.php?post_type=c4d-wp-popup | 3.37 | 50.29 |
C4D WP Popup /wp-admin/edit.php?post_type=c4d-wp-popup | 3.30 | 39.19 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for C4D WP Popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲111 | 13.75 ▼0.47 | 8.68 ▲6.83 | 43.00 ▼1.05 |
Dashboard /wp-admin | 2,219 ▲42 | 5.59 ▲0.06 | 92.18 ▲2.22 | 38.99 ▼1.53 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▼0.02 | 40.86 ▲2.22 | 36.18 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.42 ▲0.35 | 623.64 ▼90.67 | 52.77 ▼11.14 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.22 ▼0.01 | 101.96 ▼6.61 | 39.95 ▼9.23 |
Add New /wp-admin/post-new.php?post_type=c4d-wp-popup | 2,237 | 7.55 | 169.39 | 65.00 |
C4D WP Popup /wp-admin/edit.php?post_type=c4d-wp-popup | 1,097 | 1.97 | 31.07 | 30.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/c4d-popup-content/c4d-wp-popup.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
c4d-popup-content/c4d-wp-popup.php 85% from 13 tests
Analyzing the main PHP file in "C4D WP Popup" version 2.0.0
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("c4d-popup-content.php" instead of "c4d-wp-popup.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
No dangerous file extensions were detected3,064 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,370 | 333 | 2,344 |
CSS | 3 | 73 | 9 | 523 |
PHP | 1 | 21 | 14 | 153 |
Sass | 1 | 0 | 0 | 33 |
JSON | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin