Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/ngg-tinymce-description-editor/ngg-tinymce-description-editor.php+27
Constant WPINC already defined
Server metrics [RAM: ▼1.87MB] [CPU: ▼188.84ms] Passed 4 tests
Server-side resources used by NextGEN gallery TinyMCE description editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.76 ▼0.96 | 5.90 ▼13.33 |
Dashboard /wp-admin | 1.78 ▼1.27 | 4.85 ▼35.78 |
Posts /wp-admin/edit.php | 1.78 ▼1.32 | 5.23 ▼45.49 |
Add New Post /wp-admin/post-new.php | 1.78 ▼3.65 | 5.52 ▼648.84 |
Media Library /wp-admin/upload.php | 1.78 ▼1.22 | 5.05 ▼25.26 |
Server storage [IO: ▲2.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 73 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
NextGEN gallery TinyMCE description editor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.78 ▼0.08 | 9.57 ▲0.28 | 48.26 ▼2.15 |
Dashboard /wp-admin | 2,973 ▲43 | 5.87 ▼0.09 | 144.55 ▼5.47 | 123.14 ▲0.35 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.00 | 79.26 ▲7.22 | 93.80 ▲5.01 |
Add New Post /wp-admin/post-new.php | 1,500 ▼183 | 18.57 ▼0.22 | 369.02 ▼11.27 | 115.27 ▲1.49 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▲0.01 | 158.44 ▲4.39 | 129.71 ▲9.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/ngg-tinymce-description-editor/ngg-tinymce-description-editor.php+27
Constant WPINC already defined
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ngg-tinymce-description-editor/ngg-tinymce-description-editor.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
- Donate link: Please fix this invalid URI: ""
ngg-tinymce-description-editor/ngg-tinymce-description-editor.php Passed 13 tests
"NextGEN gallery TinyMCE description editor" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
42 characters long description:
NextGen Gallery Tinymce Description editor
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
Good job! No executable or dangerous file extensions detected9,129 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 51 | 1 | 435 | 9,102 |
CSS | 10 | 0 | 54 | 13 |
PHP | 1 | 2 | 30 | 12 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin