Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/next-tiny-db/includes/ntdb-functions.php+65
fgets(): read of 8192 bytes failed with errno=21 Is a directory
Server metrics [RAM: ▼1.58MB] [CPU: ▼51.59ms] Passed 4 tests
This is a short check of server-side resources used by Next Tiny DB
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.40 ▼1.06 | 6.97 ▼34.28 |
Dashboard /wp-admin | 2.42 ▼0.88 | 10.34 ▼48.95 |
Posts /wp-admin/edit.php | 2.42 ▼0.93 | 8.80 ▼40.03 |
Add New Post /wp-admin/post-new.php | 2.42 ▼3.46 | 7.97 ▼83.08 |
Media Library /wp-admin/upload.php | 2.42 ▼0.80 | 10.44 ▼23.66 |
Next Tiny DB /wp-admin/admin.php?page=ntdb-acp | 2.42 | 7.18 |
Settings /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_settings | 2.42 | 7.22 |
Databases /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_databases | 2.42 | 8.47 |
Help /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_help | 2.42 | 7.40 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ntdbCurrentType |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
ntdbCurrentVersion |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Next Tiny DB: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,001 ▲266 | 15.08 ▲0.50 | 1.90 ▲0.15 | 39.69 ▼9.56 |
Dashboard /wp-admin | 2,385 ▲194 | 6.45 ▲0.60 | 131.60 ▲12.05 | 43.10 ▼2.00 |
Posts /wp-admin/edit.php | 2,288 ▲196 | 3.35 ▲1.33 | 54.99 ▲19.39 | 36.04 ▲2.92 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 23.50 ▲5.28 | 638.19 ▲30.09 | 41.61 ▼10.26 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.25 ▲0.03 | 78.22 ▼30.41 | 43.40 ▼0.19 |
Next Tiny DB /wp-admin/admin.php?page=ntdb-acp | 1,058 | 3.01 | 42.85 | 83.28 |
Settings /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_settings | 1,061 | 3.05 | 39.87 | 63.97 |
Databases /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_databases | 1,061 | 3.02 | 39.36 | 66.46 |
Help /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_help | 1,058 | 3.02 | 39.78 | 73.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/next-tiny-db/includes/ntdb-functions.php+65
fgets(): read of 8192 bytes failed with errno=21 Is a directory
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- ntdbCurrentType
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- ntdbCurrentVersion
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_help
- > Notice in wp-content/plugins/next-tiny-db/includes/ntdb-functions.php+65
fgets(): read of 8192 bytes failed with errno=21 Is a directory
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_help
- > Notice in wp-content/plugins/next-tiny-db/includes/ntdb-acp-page.php+39
Undefined variable: PathBD
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_help
- > Notice in wp-content/plugins/next-tiny-db/includes/ntdb-acp-page.php+76
Undefined variable: NbRows
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ntdb-acp&tab=ntdb_help
- > Notice in wp-content/plugins/next-tiny-db/includes/ntdb-acp-page.php+299
Undefined variable: tmpFilePathFound
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/next-tiny-db/includes/ntdb-acp-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/next-tiny-db/next-tiny-db.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/next-tiny-db/includes/ntdb-functions.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: database, csv, excel, db, spreadsheet
next-tiny-db/next-tiny-db.php 92% from 13 tests
The primary PHP file in "Next Tiny DB" version 2.2.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 528 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,140 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 117 | 14 | 850 |
PO File | 1 | 241 | 402 | 193 |
CSS | 1 | 4 | 3 | 70 |
JavaScript | 1 | 5 | 1 | 27 |
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.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin