Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.49ms] Passed 4 tests
This is a short check of server-side resources used by Pods Stream Connector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.65 ▼1.69 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.94 ▼8.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.00 ▼5.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 111.44 ▲6.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.90 ▼2.55 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Pods Stream Connector: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.23 ▼0.94 | 1.63 ▼0.04 | 43.46 ▲2.67 |
Dashboard /wp-admin | 2,221 ▲20 | 4.86 ▼0.06 | 110.12 ▼27.84 | 42.23 ▼1.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.02 | 38.02 ▼2.65 | 36.15 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.05 ▲5.39 | 613.02 ▼106.58 | 95.53 ▲36.24 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.26 ▲0.16 | 104.15 ▼13.37 | 48.48 ▲3.19 |
Uninstaller [IO: ▲0.00MB] [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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Stream_Connector_Pods_Base' not found in wp-content/plugins/pods-stream/includes/WP_Stream_Connector_Pods.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pods-stream/pods-stream.php:35
- > PHP Fatal error
Uncaught Error: Class 'WP_Stream\\Connector' not found in wp-content/plugins/pods-stream/includes/WP_Stream_Connector_Pods_Base.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Stream_Connector_Pods_Base' not found in wp-content/plugins/pods-stream/includes/WP_Stream_Connector_Pods_Content.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% 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
2 plugin tags: stream, pods
pods-stream/pods-stream.php 92% from 13 tests
Analyzing the main PHP file in "Pods Stream Connector" version 3.0
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin276 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 174 | 469 | 276 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 3 | 15.79% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.26% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 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
PNG images were not found in this plugin