Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.59MB] [CPU: ▲5.29ms] Passed 4 tests
An overview of server-side resources used by Captivate Sync
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.22 ▲0.49 | 55.71 ▲8.27 |
Dashboard /wp-admin | 4.22 ▲0.66 | 63.70 ▲12.04 |
Posts /wp-admin/edit.php | 4.29 ▲0.61 | 60.76 ▲5.95 |
Add New Post /wp-admin/post-new.php | 6.91 ▲0.76 | 99.31 ▼5.09 |
Media Library /wp-admin/upload.php | 4.08 ▲0.59 | 50.77 ▲12.31 |
My Shows /wp-admin/admin.php?page=cfm-hosting-podcasts | 3.94 | 35.42 |
Shortcode Builder /wp-admin/admin.php?page=cfm-hosting-shortcode | 4.07 | 46.78 |
Authentication /wp-admin/admin.php?page=cfm-hosting-credentials | 4.06 | 42.85 |
Server storage [IO: ▲16.35MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 209 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cfm_shows |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
cfm_plugin_updated |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Captivate Sync
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.38 ▼0.26 | 1.94 ▲0.07 | 44.67 ▲1.98 |
Dashboard /wp-admin | 2,212 ▲35 | 5.74 ▲0.05 | 96.40 ▲5.53 | 87.91 ▲46.34 |
Posts /wp-admin/edit.php | 2,136 ▲33 | 2.04 ▲0.03 | 35.19 ▼3.19 | 34.74 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,707 ▲175 | 22.21 ▼1.19 | 713.40 ▲54.47 | 64.89 ▲9.44 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.23 ▼0.03 | 101.20 ▲0.88 | 76.37 ▲30.90 |
My Shows /wp-admin/admin.php?page=cfm-hosting-podcasts | 932 | 1.97 | 33.66 | 55.02 |
Shortcode Builder /wp-admin/admin.php?page=cfm-hosting-shortcode | 1,359 | 2.12 | 33.93 | 33.05 |
Authentication /wp-admin/admin.php?page=cfm-hosting-credentials | 947 | 1.93 | 29.38 | 34.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_cfm_shows
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- cfm_plugin_updated
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/captivatesync-trade/inc/templates/template-parts/ql-toolbar.php
- > /wp-content/plugins/captivatesync-trade/inc/templates/footer.php
- > /wp-content/plugins/captivatesync-trade/inc/templates/template-parts/footer.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
require(CFMHinc/templates/template-parts/header.php): failed to open stream: No such file or directory in wp-content/plugins/captivatesync-trade/inc/templates/shortcode.php on line 9
- > PHP Warning
require(CFMHinc/templates/template-parts/header.php): failed to open stream: No such file or directory in wp-content/plugins/captivatesync-trade/inc/templates/user-credentials.php on line 9
- > PHP Fatal error
require(): Failed opening required 'CFMHinc/templates/template-parts/header.php' (include_path='.:/usr/share/php') in wp-content/plugins/captivatesync-trade/inc/templates/shortcode.php on line 9
- > PHP Fatal error
require(): Failed opening required 'CFMHinc/templates/template-parts/header.php' (include_path='.:/usr/share/php') in wp-content/plugins/captivatesync-trade/inc/templates/podcasts.php on line 9
- > PHP Warning
require(CFMHinc/templates/template-parts/header.php): failed to open stream: No such file or directory in wp-content/plugins/captivatesync-trade/inc/templates/podcasts.php on line 9
- > PHP Fatal error
require(): Failed opening required 'CFMHinc/templates/template-parts/header.php' (include_path='.:/usr/share/php') in wp-content/plugins/captivatesync-trade/inc/templates/user-credentials.php on line 9
- > PHP Warning
Use of undefined constant CFMH - assumed 'CFMH' (this will throw an Error in a future version of PHP) in wp-content/plugins/captivatesync-trade/inc/templates/episodes.php on line 12
- > PHP Fatal error
require(): Failed opening required 'CFMHinc/templates/template-parts/header.php' (include_path='.:/usr/share/php') in wp-content/plugins/captivatesync-trade/inc/templates/episodes.php on line 12
- > PHP Warning
require(CFMHinc/templates/template-parts/header.php): failed to open stream: No such file or directory in wp-content/plugins/captivatesync-trade/inc/templates/episodes.php on line 12
- > PHP Warning
Use of undefined constant CFMH - assumed 'CFMH' (this will throw an Error in a future version of PHP) in wp-content/plugins/captivatesync-trade/inc/templates/user-credentials.php on line 9
- > PHP Warning
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: podcast, captivate, itunes, blubrry, libsyn...
captivatesync-trade/captivate-sync.php 85% from 13 tests
The main PHP script in "Captivate Sync" version 2.0.22 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("captivatesync-trade.php" instead of "captivate-sync.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 194 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected83,840 lines of code in 168 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 20 | 47,523 |
CSS | 28 | 6,428 | 157 | 24,689 |
Sass | 84 | 1,224 | 1,013 | 5,053 |
PHP | 19 | 1,421 | 883 | 4,223 |
JavaScript | 30 | 456 | 177 | 1,999 |
HTML | 2 | 90 | 0 | 353 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 44.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 6.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 85.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 59 | 85.51% |
▷ Public methods | 66 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.35% |
Functions | 26 | |
▷ Named functions | 21 | 80.77% |
▷ Anonymous functions | 5 | 19.23% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.14MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
captivate-sync-assets/img/rbm-inline.png | 53.13KB | 29.16KB | ▼ 45.11% |
captivate-sync-assets/img/captivate.png | 6.23KB | 4.36KB | ▼ 29.91% |
captivate-sync-assets/img/menu-icon.png | 1.43KB | 0.82KB | ▼ 42.47% |
captivate-sync-assets/img/menu-icon_.png | 1.60KB | 1.18KB | ▼ 26.31% |
vendor/images/sort_desc.png | 1.24KB | 0.30KB | ▼ 75.49% |