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: ▲0.33ms] Passed 4 tests
Server-side resources used by BANGNAM WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 40.55 ▲1.86 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.43 ▼7.22 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 54.06 ▲5.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 103.23 ▲10.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.05 ▲0.71 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
BANGNAM WP: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲4 | 13.57 ▼1.19 | 1.61 ▼0.65 | 47.20 ▼3.88 |
Dashboard /wp-admin | 2,221 ▲15 | 5.77 ▲0.92 | 101.20 ▲0.64 | 87.48 ▲48.91 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.99 ▼0.01 | 38.16 ▼2.06 | 34.35 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 21.50 ▼1.73 | 700.81 ▲51.38 | 56.97 ▼10.38 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.05 ▼0.17 | 99.12 ▼3.57 | 86.32 ▲39.78 |
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 does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bangnam-wp/vendor/shuchkin/simplexlsx/examples/02-rows_and_rowsEx.php
- > /wp-content/plugins/bangnam-wp/bangnam-wp.php
- > /wp-content/plugins/bangnam-wp/vendor/shuchkin/simplexlsx/examples/01-basic_usage.php
- > /wp-content/plugins/bangnam-wp/vendor/shuchkin/simplexlsx/examples/05-rows_with_header_values_as_keys.php
- > /wp-content/plugins/bangnam-wp/vendor/shuchkin/simplexlsx/examples/04-upload_and_convert_to_html.php
- > /wp-content/plugins/bangnam-wp/vendor/shuchkin/simplexlsx/examples/03-sheets.php
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
require_once(wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/CellContentTest.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/TempDirTest.php on line 5
- > PHP Warning
require_once(wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/DateFormatTest.php on line 5
- > PHP Warning
require_once(wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/IteratorTest.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/SheetTest.php on line 5
- > PHP Warning
require_once(wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/SharedStringsTest.php on line 5
- > PHP Warning
require_once(wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/TempDirTest.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/FilepartLocationTest.php on line 5
- > PHP Warning
require_once(wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/SkipEmptyCellsTest.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/bangnam-wp/vendor/aspera/xlsx-reader/tests/CellContentTest.php on line 5
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #3 (Optimize Full 100 point page speed only one click) image not found
bangnam-wp/bangnam-wp.php 92% from 13 tests
This is the main PHP file of "BANGNAM WP" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Everything looks great! No dangerous files found in this plugin4,261 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 712 | 1,491 | 3,570 |
Markdown | 5 | 95 | 0 | 494 |
JSON | 3 | 0 | 0 | 168 |
XML | 1 | 0 | 0 | 28 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 24.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 185 | |
▷ Static methods | 12 | 6.49% |
▷ Public methods | 150 | 81.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 35 | 18.92% |
Functions | 15 | |
▷ Named functions | 8 | 53.33% |
▷ Anonymous functions | 7 | 46.67% |
Constants | 28 | |
▷ Global constants | 4 | 14.29% |
▷ Class constants | 24 | 85.71% |
▷ Public constants | 24 | 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
3 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bangnam-anchor-text.png | 0.73KB | 0.76KB | 0.00% |
assets/images/alert.png | 15.03KB | 7.10KB | ▼ 52.76% |
assets/images/checked.png | 6.85KB | 6.69KB | ▼ 2.24% |