Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▲0.35MB] [CPU: ▲0.79ms] Passed 4 tests
This is a short check of server-side resources used by Pathpic
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.38 | 46.66 ▲7.53 |
Dashboard /wp-admin | 3.69 ▲0.39 | 49.72 ▼2.11 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 51.13 ▲1.52 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 92.60 ▼3.78 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 44.31 ▲8.43 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Pathpic: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 13.80 ▼0.55 | 9.46 ▲7.71 | 48.18 ▲5.04 |
Dashboard /wp-admin | 2,194 ▲17 | 5.54 ▼0.07 | 90.78 ▼1.39 | 37.79 ▼6.79 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.03 ▲0.03 | 35.53 ▼2.16 | 33.82 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,530 ▼7 | 23.13 ▲4.96 | 628.88 ▼30.34 | 57.92 ▼9.55 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.20 ▲0.03 | 94.86 ▼3.99 | 39.92 ▼3.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
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
The following issues need your attention
- 37× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include_once(Model/validaVertice.php): failed to open stream: No such file or directory in wp-content/plugins/pathpic/View/VistaGrafo.php on line 14
- > PHP Warning
include_once(): Failed opening 'Model/validaVertice.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pathpic/View/VistaGrafo.php on line 14
- > PHP Warning
include_once(Model/Graph.php): failed to open stream: No such file or directory in wp-content/plugins/pathpic/View/VistaGrafo.php on line 13
- > PHP Warning
include_once(Model/validaVertice.php): failed to open stream: No such file or directory in wp-content/plugins/pathpic/View/VistaGrafo.php on line 14
- > PHP Warning
include_once(): Failed opening 'View/ProxySalida.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pathpic/Controller/ControladorGrafo.php on line 15
- > PHP Warning
include_once(): Failed opening 'Model/validaVertice.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pathpic/View/VistaGrafo.php on line 14
- > PHP Warning
include_once(): Failed opening 'Model/Graph.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pathpic/View/VistaGrafo.php on line 13
- > PHP Warning
include_once(Model/Graph.php): failed to open stream: No such file or directory in wp-content/plugins/pathpic/View/VistaGrafo.php on line 13
- > PHP Warning
include_once(View/ProxySalida.php): failed to open stream: No such file or directory in wp-content/plugins/pathpic/Controller/ControladorGrafo.php on line 15
- > PHP Warning
include_once(): Failed opening 'Model/validaVertice.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pathpic/Controller/ControladorGrafo.php on line 13
- > PHP Warning
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:
- Donate link: Invalid URI found ("")
pathpic/pathpic.php Passed 13 tests
The main PHP script in "Pathpic" version 0.8.3 is automatically included on every request by WordPress
115 characters long description:
Show path lists as an image or a tree of text representing the path hierarchies with a file system manager's style.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,570 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 464 | 681 | 1,527 |
CSS | 1 | 3 | 7 | 43 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 3 | 25.00% |
▷ Concrete classes | 9 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 141 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 141 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
43 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/expandidoW7.png | 0.16KB | 0.15KB | ▼ 4.27% |
images/dirOpenNBJ.png | 0.84KB | 0.96KB | 0.00% |
images/dirW7.png | 0.62KB | 0.71KB | 0.00% |
images/expandidoEcJ.png | 0.16KB | 0.15KB | ▼ 4.27% |
images/archTxtNB.png | 0.50KB | 0.46KB | ▼ 7.25% |