Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.93MB] [CPU: ▼35.95ms] Passed 4 tests
Analyzing server-side resources used by SedaMicro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.02 ▼4.36 |
Dashboard /wp-admin | 3.01 ▼0.29 | 26.41 ▼26.02 |
Posts /wp-admin/edit.php | 3.01 ▼0.34 | 22.14 ▼26.56 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.87 | 22.78 ▼77.25 |
Media Library /wp-admin/upload.php | 3.01 ▼0.21 | 22.72 ▼13.96 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
seda_keys |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for SedaMicro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.55 ▼0.83 | 2.13 ▲0.47 | 54.10 ▲8.71 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼0.13 | 105.75 ▼10.73 | 41.96 ▼0.91 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.06 | 40.65 ▼0.57 | 35.57 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.76 ▼0.66 | 659.54 ▲31.31 | 58.72 ▲1.32 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▼0.02 | 99.90 ▲2.17 | 41.81 ▼5.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'seda_micro_menu' not found or invalid function name
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- seda_keys
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/media.php' (include_path='.:/usr/share/php') in wp-content/plugins/seda-micro/seda-micro.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/seda-micro/seda-micro.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/media.php): failed to open stream: No such file or directory in wp-content/plugins/seda-micro/seda-micro.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/seda-micro/includes/../incs-funcs.inc.php' (include_path='.:/usr/share/php') in wp-content/plugins/seda-micro/includes/mobile.inc.php on line 16
- > PHP Warning
require_once(wp-content/plugins/seda-micro/includes/../incs-funcs.inc.php): failed to open stream: No such file or directory in wp-content/plugins/seda-micro/includes/mobile.inc.php on line 16
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/seda-micro/includes/lang.inc.php' (include_path='.:/usr/share/php') in wp-content/plugins/seda-micro/wp-incs-funcs.php on line 2
- > PHP Warning
require_once(wp-content/plugins/seda-micro/includes/lang.inc.php): failed to open stream: No such file or directory in wp-content/plugins/seda-micro/wp-incs-funcs.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 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: content, upload, citizenjournalism
seda-micro/seda-micro.php Passed 13 tests
The main file in "SedaMicro" v. 0.8.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
109 characters long description:
This plugin will add allow file upload directly from the Android app to the Amazon S3 if correctly connected.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin605 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 101 | 650 | 554 |
PO File | 1 | 10 | 0 | 37 |
CSS | 1 | 0 | 0 | 14 |
HTML | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 6 | 13.95% |
▷ Public methods | 37 | 86.05% |
▷ Protected methods | 4 | 9.30% |
▷ Private methods | 2 | 4.65% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rec.png | 20.85KB | 8.63KB | ▼ 58.61% |
images/upload.png | 22.90KB | 9.22KB | ▼ 59.73% |
images/grey.png | 5.89KB | 5.09KB | ▼ 13.53% |