Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼299.34ms] Passed 4 tests
An overview of server-side resources used by Gigaom Simple DB
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 60.57 ▲2.34 |
Dashboard /wp-admin | 3.42 ▲0.01 | 41.10 ▲1.91 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 50.21 ▲6.51 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 104.03 ▼1,199.82 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 30.96 ▼1.80 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Gigaom Simple DB
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 16.01 ▲0.30 | 5.69 ▼0.58 | 2.82 ▲0.17 |
Dashboard /wp-admin | 2,892 ▲31 | 6.09 ▲0.02 | 120.39 ▼12.65 | 158.99 ▼8.24 |
Posts /wp-admin/edit.php | 2,688 ▲3 | 3.24 ▲0.00 | 64.89 ▲1.68 | 138.23 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,773 ▲62 | 21.67 ▲0.34 | 447.52 ▼116.89 | 153.38 ▼36.94 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.50 ▼0.02 | 146.35 ▲4.69 | 186.84 ▼15.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
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
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: wordpress, amazon simple db
go-simple-db/go-simple-db.php 92% from 13 tests
The principal PHP file in "Gigaom Simple DB" v. 0.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Version: The plugin version was missing
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin864 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 152 | 399 | 864 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 1 | 1.30% |
▷ Public methods | 63 | 81.82% |
▷ Protected methods | 8 | 10.39% |
▷ Private methods | 6 | 7.79% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 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
There are no PNG files in this plugin