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.05MB] [CPU: ▼0.92ms] Passed 4 tests
This is a short check of server-side resources used by Custom Nextpage
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.97 ▲8.04 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.54 ▲1.29 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 47.44 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 82.00 ▼6.21 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 37.61 ▼0.40 |
Custom Nextpage /wp-admin/options-general.php?page=custom-nextpage | 3.23 | 31.36 |
Server storage [IO: ▲1.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Nextpage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 13.60 ▼0.80 | 4.88 ▲3.23 | 43.85 ▼0.11 |
Dashboard /wp-admin | 2,221 ▲39 | 5.87 ▲0.02 | 112.09 ▼2.03 | 41.75 ▲2.78 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.06 ▲0.03 | 34.51 ▼3.19 | 34.96 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 23.39 ▼0.04 | 639.46 ▼41.01 | 62.66 ▲10.49 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.21 ▲0.02 | 99.43 ▼8.83 | 42.65 ▼2.73 |
Custom Nextpage /wp-admin/options-general.php?page=custom-nextpage | 1,400 | 2.58 | 43.74 | 39.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=custom-nextpage
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=custom-nextpage
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-nextpage/custom-nextpage.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'CustomNextPageInit' not found in wp-content/plugins/custom-nextpage/includes/class-admin-menu.php:2
- > PHP Fatal error
Uncaught Error: Class 'CustomNextPageInit' not found in wp-content/plugins/custom-nextpage/includes/class-admin-editor.php:2
- > PHP Fatal error
Uncaught Error: Class 'CustomNextPageInit' not found in wp-content/plugins/custom-nextpage/includes/tinymce/plugins/customnextpage/langs/langs.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/custom-nextpage/custom-nextpage.php:29
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-nextpage/custom-nextpage.php on line 18
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=custom-nextpage
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=custom-nextpage 17:4 Uncaught ReferenceError: QTags is not defined
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Short code insertion button), #2 (Title insertion form), #3 (It looks after you insert), #4 (Next page appearance)
custom-nextpage/custom-nextpage.php Passed 13 tests
"Custom Nextpage" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
62 characters long description:
MultiPage is a customizable plugin. Can any title on the page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin9,522 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 917 | 967 | 7,809 |
PHP | 4 | 73 | 13 | 633 |
CSS | 6 | 55 | 24 | 477 |
HTML | 4 | 70 | 0 | 433 |
PO File | 1 | 39 | 45 | 102 |
Markdown | 2 | 19 | 0 | 68 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 17.75 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.84MB with 0.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/tinymce/plugins/customnextpage/img/custom-next-page.png | 1.60KB | 0.46KB | ▼ 71.17% |
screenshot-4.png | 151.31KB | 46.06KB | ▼ 69.56% |
images/custom-next-page@2x.png | 1.61KB | 0.40KB | ▼ 74.92% |
includes/tinymce/plugins/customnextpage/img/custom-next-page-icon.png | 1.27KB | 0.29KB | ▼ 77.39% |
screenshot-1.png | 254.56KB | 77.10KB | ▼ 69.71% |