Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.46ms] Passed 4 tests
A check of server-side resources used by WP Podro
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.07 ▼10.72 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.74 ▼1.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.72 ▼2.39 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.92 ▼14.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.01 ▲0.62 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 189 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Podro
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.27 ▼0.01 | 1.62 ▼0.18 | 43.10 ▼1.57 |
Dashboard /wp-admin | 2,205 ▲25 | 5.64 ▼0.03 | 88.28 ▼11.04 | 50.71 ▲5.02 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.03 ▲0.01 | 34.93 ▼10.19 | 41.92 ▲1.96 |
Add New Post /wp-admin/post-new.php | 1,534 ▼1 | 23.29 ▲5.15 | 674.63 ▲46.59 | 62.91 ▼3.47 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.18 ▼0.02 | 102.09 ▼4.13 | 55.00 ▲10.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/podro-wp/wp-podro.php
- 110× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/podro-wp/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: shipping, woocommerce, podro
podro-wp/wp-podro.php 85% from 13 tests
The primary PHP file in "WP Podro" version 1.4.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("podro-wp.php" instead of "wp-podro.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 463 characters long)
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 plugin6,447 lines of code in 159 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 139 | 1,110 | 1,282 | 5,020 |
JavaScript | 8 | 236 | 24 | 879 |
JSON | 6 | 4 | 0 | 403 |
YAML | 3 | 31 | 3 | 123 |
Markdown | 1 | 13 | 0 | 20 |
CSS | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 4.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 125 | |
▷ Abstract classes | 1 | 0.80% |
▷ Concrete classes | 124 | 99.20% |
▷ Final classes | 0 | 0.00% |
Methods | 256 | |
▷ Static methods | 51 | 19.92% |
▷ Public methods | 195 | 76.17% |
▷ Protected methods | 34 | 13.28% |
▷ Private methods | 27 | 10.55% |
Functions | 29 | |
▷ Named functions | 3 | 10.34% |
▷ Anonymous functions | 26 | 89.66% |
Constants | 28 | |
▷ Global constants | 9 | 32.14% |
▷ Class constants | 19 | 67.86% |
▷ Public constants | 19 | 100.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
5 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mahexLogo.png | 32.28KB | 10.67KB | ▼ 66.93% |
assets/images/linkLogo.png | 1.71KB | 0.77KB | ▼ 55.07% |
assets/images/podro.png | 1.25KB | 1.49KB | 0.00% |
assets/images/postLogo.png | 6.53KB | 3.87KB | ▼ 40.74% |
assets/images/pishropostLogo.png | 41.53KB | 19.33KB | ▼ 53.47% |