Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/cocatech-podcast/widget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; CocatechPodcast has a deprecated constructor
Server metrics [RAM: ▼1.85MB] [CPU: ▼187.44ms] Passed 4 tests
An overview of server-side resources used by Cocatech Podcast
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.78 ▼1.06 | 5.32 ▼28.46 |
Dashboard /wp-admin | 1.80 ▼1.26 | 5.57 ▼38.53 |
Posts /wp-admin/edit.php | 1.80 ▼1.31 | 5.70 ▼36.98 |
Add New Post /wp-admin/post-new.php | 1.80 ▼3.64 | 4.80 ▼645.77 |
Media Library /wp-admin/upload.php | 1.80 ▼1.20 | 5.80 ▼24.56 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_cocatechpodcast |
Browser metrics Passed 4 tests
Cocatech Podcast: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲117 | 15.93 ▲0.04 | 8.09 ▼0.02 | 50.54 ▲5.60 |
Dashboard /wp-admin | 2,973 ▲42 | 5.89 ▼0.09 | 139.05 ▼8.20 | 115.56 ▲9.58 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.69 ▲0.01 | 64.68 ▼0.75 | 92.21 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,594 ▲96 | 18.78 ▼0.00 | 363.14 ▼19.49 | 104.93 ▼12.13 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.01 ▼0.04 | 153.77 ▲4.65 | 124.83 ▲1.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/cocatech-podcast/widget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; CocatechPodcast has a deprecated constructor
- The uninstall procedure has failed, leaving 1 option in the database
- widget_cocatechpodcast
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)
Even though everything seems fine, this is not 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cocatech-podcast/widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cocatech-podcast/widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (2.), #3 ()
cocatech-podcast/cocatech-podcast.php Passed 13 tests
The main file in "Cocatech Podcast" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
55 characters long description:
Cria um Widget para exibição dos 5 ultimos episódios
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
Success! There were no dangerous files found in this plugin68 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 11 | 66 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
print.png | 17.46KB | 8.04KB | ▼ 53.97% |
screenshot-3.png | 38.66KB | 10.00KB | ▼ 74.14% |
screenshot-1.png | 12.21KB | 2.80KB | ▼ 77.06% |
screenshot-2.png | 22.99KB | 6.33KB | ▼ 72.45% |